mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-17 07:25:16 +00:00
In the in-window menu bar (Windows, Linux, --in-window-menus), moving from a submenu's row toward one of its lower items crosses the rows below. egui keeps the submenu open only while the pointer moves in a straight line at it: a bowed path or a pause on the way closed it, and the crossed rows lit up as if chosen. As in macOS and Photoshop menus, the submenu now stays open while the pointer is inside the triangle from where it left the row to the submenu's near edge, until it rests on another row for 0.3 s or moves away. Its row stays lit and the crossed rows don't light up; when the submenu lets go, the row under the pointer takes the highlight. Clicks, keys and leaving the triangle behave as before. Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>