forked from 1b-agent/opencadstudio-upstream
The ribbon layer dropdown grew unbounded so a long layer list ran off the bottom of the screen with no way to scroll. Cap the panel height and make the list scrollable; short lists still shrink to fit. While a dropdown was open, the 3D viewport beneath it kept tracking the cursor over the panel's empty areas, and the OS cursor vanished there. In iced 0.14 mouse_area/opaque only capture button presses, never CursorMoved, so a higher stack layer can't swallow motion — gate it state-side instead: - ignore viewport motion in on_viewport_move while ribbon.open_dropdown is set - suppress the crosshair overlay's Hidden cursor (and crosshair draw) so the normal OS cursor shows over an open dropdown - route all ribbon dropdown backdrops through a shared dropdown_backdrop() Co-Authored-By: Claude Opus 4.8 <[email protected]>