Skip to content

Commit

Permalink
Allow both cases in shift+hotkeys
Browse files Browse the repository at this point in the history
  • Loading branch information
murapix authored and Escapee committed Feb 21, 2024
1 parent 1f22f50 commit b40d4be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/hotkey.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ document.onkeydown = function (e) {
if (e.ctrlKey) {
key = "ctrl+" + key;
}
const hotkey = hotkeys[key];
const hotkey = hotkeys[key] ?? hotkeys[key.toLowerCase()];
if (hotkey && unref(hotkey.enabled)) {
e.preventDefault();
hotkey.onPress();
Expand Down

0 comments on commit b40d4be

Please sign in to comment.