mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-25 18:27:02 -06:00
Tab is the Panels shortcut (show/hide all panels), but egui's own focus navigation read the same Tab press at the start of the frame and moved the keyboard focus on to a field. The shortcut handler returns early while a field has the keyboard, so after one Tab a second Tab, tool letters and Ctrl chords did nothing until a click or Esc, and in the Type tool the letter typed after a Tab was lost. When no field has the keyboard, the handler now cancels the focus move for that frame; in dialogs, the command palette and panel fields, Tab still moves between fields. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>