mirror of
https://github.com/storytold/effectcraft.git
synced 2026-10-24 10:09:32 -06:00
While a text layer was being edited, Edit > Deselect All and its shortcuts selected every character (or did nothing) instead of ending the edit and deselecting the layer. - deselect_all now commits the open edit first, through the same route as text.endEdit: a created-but-empty type-tool layer is discarded, anything typed is kept, and no extra undo step is introduced. - While the in-canvas editor holds the keyboard, the editor forwards the command's currently assigned shortcut (and any function-key chord) so Deselect All reaches the command from the comp; bare-letter bindings stay typing, and Select All still selects characters. - The Project-panel focus redirects (invocation and menu enabled-ness) stand down while a text edit is open, so the menu and shortcut end the edit even when focus stayed on Project after Layer > New > Text. Tests: three engine cases (commit + discard semantics), six UI kittest cases (chords, F2, rebinding, menu enabled-ness, Project focus), RED at base.