-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't match shiftKey strictly, but prioritize shifted over unshifted
Most key shortcuts will accept either lower or uppercase ('h' or 'H'), so we don't strictly match on the shift key, but we prioritize shifted bindings first, and fallback to unshifted only if no match. (This lets us differentiate between '←'/'⇧←' or '⌘Z'/'⌘⇧Z')
- Loading branch information
Showing
1 changed file
with
57 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters