mirror of
https://github.com/leozide/leocad.git
synced 2026-10-26 22:10:32 +00:00
Color pickers compared global coordinates with screen dimensions, placing Minifig Wizard and Blender preferences palettes far from their controls on secondary monitors. The numeric ladder also used incorrect half-size bounds. Share monitor selection and available-area clamping through lcGetPopupPosition(), using the anchor or cursor to select the monitor. Size color palettes before placement and reuse the helper when resizing part-selection menus. Preserve monitor offsets, reserve desktop work areas, and align oversized popups to the screen's top or left edge. Validation: macOS Qt 6 build and 49 offscreen placement checks across four simulated monitors, including negative coordinates, oversized popups, and primary-screen fallback. Windows hardware testing remains outstanding. Fixes #1041