summaryrefslogtreecommitdiff
path: root/packages/frontend/src/scripts/hotkey.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/frontend/src/scripts/hotkey.ts')
-rw-r--r--packages/frontend/src/scripts/hotkey.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/frontend/src/scripts/hotkey.ts b/packages/frontend/src/scripts/hotkey.ts
index ff3cbe98ac..04fb235694 100644
--- a/packages/frontend/src/scripts/hotkey.ts
+++ b/packages/frontend/src/scripts/hotkey.ts
@@ -114,6 +114,7 @@ const matchPatterns = (ev: KeyboardEvent, action: Action) => {
const key = ev.key.toLowerCase();
return patterns.some(({ which, ctrl, shift, alt }) => {
if (
+ options.allowRepeat === false &&
latestHotkey != null &&
latestHotkey.which.includes(key) &&
latestHotkey.ctrl === ctrl &&