mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
* Menus on small displays: scroll arrows, keyboard navigation, reachability tests (#138) Builds on #160 (scrollable menu levels). Each menu level is now bounded from the menu bar down (so a top-level menu no longer slides over the bar), shows native-style ▲/▼ scroll arrows when it overflows (resting on one scrolls; the wheel works over them too), and the keyboard drives an open menu: ↑/↓ move a highlight that is kept in view, → opens a submenu (highlighting its first row) or the next menu, ← closes it or opens the previous menu, ↩/Space run the item, Esc closes. Keyboard shortcuts wait while a menu is open; a resting pointer no longer undoes ←/→. Tests: every enabled row of Filter, Layer, Image and Edit is reachable and visible at 1280×720 and 1024×600 at 1× and 1.5×, by keyboard, wheel and the scroll arrows; submenus open/close by keyboard; ↩ runs a command. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Color Range: test the dialog in the full app without a GPU; show preview failures (#145) The dialog opens from Select › Color Range… in the whole app on the CPU canvas (no wgpu render state, as on a Linux adapter that can't run the GPU canvas) at 1024×600, on screen, with both previews drawn, and OK applies. v0.1.1 and earlier had no Color Range dialog (it shipped in 0.2.0 with #80): the menu item ran select.colorRange directly with the foreground colour, which matches the report (a selection appears, no window). A preview that can't be computed used to stay silently blank; it now logs the reason once and shows "Preview unavailable: <reason>" in the preview (also in its accessibility label). Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>