mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-26 10:47:11 -06:00
Enter and Escape went to the active tool whatever modifiers were held, and the command bound to the chord then ran as well. With a command bound to Cmd+Enter, Cmd+Enter ended the Pen tool's path, opened the Move dialog with the Selection tool, or typed a line break while the Type tool edited text, and then ran the command. With a command bound to Cmd+Escape, Cmd+Escape ended the Pen path, the Type tool's text editing or isolation mode before the command ran. A press of Enter or Escape whose chord a command is bound to, matched as the shortcut dispatcher matches it, now runs only that command, also when the tool claims the key. While the Type tool edits text, only Cmd chords count. While a tool is in the middle of an interaction (a drag, or between the clicks of a tool such as Blend or Dimension), and for plain Enter and Escape and chords that no command is bound to, the key goes to the tool as before.