joryirving/windowstead #54: fix popup clipping in bottom dock mode - #55
Conversation
|
✅ Automated recommendation: APPROVE Analysis engine: MiniMax-M2.7@https://api.minimax.io/v1 PR Review: fix popup clipping in bottom dock mode (PR #55)SummaryThis PR addresses issue #54 by expanding the dock width in bottom mode to accommodate the popup sidebar width, preventing the menu popup from being clipped or inaccessible. Change-by-Change Findings
Standards Compliance
Minor Observations (Non-blocking)
Unknowns / Needs Verification
RecommendationApprove. The changes are targeted, logically consistent with the existing codebase patterns, and address the stated issue. The minor observations about value duplication and magic numbers are style concerns rather than functional defects. |
3a6ec58 to
4ca87a7
Compare
Fixes #54. Partial fix — expanded dock width in bottom mode to account for the popup sidebar width, preventing the menu popup from being clipped or inaccessible. Added SIDEBAR_WIDTH constant and updated dock_size_for_anchor to include sidebar + gap width. Also updated position_popup_panel to use the SIDEBAR_WIDTH constant for bottom mode positioning.