mirror of
https://github.com/storytold/effectcraft.git
synced 2026-10-14 19:27:05 -04:00
The in-window menu bar now works from the keyboard as After Effects' does on Windows: Alt pressed and released on its own focuses the bar, Left / Right move between its menus and Down, Enter or Space opens one. In an open menu Up / Down move the highlight (skipping disabled entries, wrapping around), Right opens the highlighted submenu and Left closes it (on a plain entry they open the next / previous menu), Enter or Space chooses the entry and Escape closes the menus. Hovering an entry moves the highlight there, and a highlighted entry scrolls into view in long menus. While a menu, context menu or popup list is open, or the bar has the keyboard, keys go to the menus only: the app's shortcuts don't run (Space started the preview behind an open menu) and the panels don't see the keys (Enter on an entry no longer reaches the Project panel's rename). Tall menus already scroll inside the window since #277 (ui_scrolling's a_menu_taller_than_the_window_scrolls). F10 stays View > Switch 3D View > Front, as in After Effects. Test: ui_menus (shortcuts_wait_while_a_menu_is_open, arrow_keys_drive_the_menu_bar, enter_chooses_the_highlighted_entry). Co-Authored-By: Claude Opus 5.5 <[email protected]>