cad-editor/src/ui
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan Seven 3d5f400b9d fix(statusbar): keep the cursor visible over a disabled menu row
A greyed-out option in a status-bar menu made the mouse pointer vanish.
A disabled button reports no mouse interaction at all, and a menu is an
overlay: when the overlay reports none, the cursor is decided by whatever
lies beneath it, which over the drawing is the canvas hiding the pointer
so it can draw the crosshair itself. Enabled rows were fine only because
they ask for a pointer and so never fall through.

Every row now answers for the cursor over it, doing something or not.
`mouse_area` fills in only where the content stays silent, so an enabled
row keeps the pointer it asked for.

Fixed for every status-bar menu rather than the one that showed it: they
all build their rows through the same place, and the next menu with a
disabled row would have had the same hole.

Closes #684

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-08 09:56:58 +03:00
..
popup fix(units): make the units selector reach what it names 2026-08-07 19:59:09 +03:00
ribbon feat(plugin-api): let add-ons ask for a visual style by name 2026-08-07 14:29:01 +03:00
statusbar fix(statusbar): keep the cursor visible over a disabled menu row 2026-08-08 09:56:58 +03:00
style feat(styles): overhaul style managers 2026-08-03 02:01:47 +03:00
window feat(units): read back every form the drawing writes 2026-08-07 23:46:49 +03:00
color_select.rs feat(locale): localize full interface 2026-08-02 22:09:25 +03:00
command_line.rs feat(insert): add docked block palette 2026-08-06 11:02:52 +03:00
icons.rs fix(ribbon): mask tools on start 2026-08-05 00:52:52 +03:00
mod.rs refactor(ui): adopt iced color picker 2026-07-30 15:19:58 +03:00
modal.rs fix(locale): stabilize web options 2026-08-02 23:14:48 +03:00
overlay.rs feat(grips): improve direct editing 2026-08-04 16:27:03 +03:00
properties.rs feat(properties): refine quick properties 2026-08-04 17:32:06 +03:00
side_toolbar.rs fix(ui): make modal layouts intrinsic 2026-07-30 14:47:28 +03:00
text_util.rs feat(ui): elide overflowing text, tooltip full layer name 2026-06-09 19:04:18 +03:00
wrap_bar.rs fix(ui): make modal layouts intrinsic 2026-07-30 14:47:28 +03:00