summaryrefslogtreecommitdiff
path: root/src/client/app/common/hotkey.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/app/common/hotkey.ts')
-rw-r--r--src/client/app/common/hotkey.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/app/common/hotkey.ts b/src/client/app/common/hotkey.ts
index b2afd57ae3..a53d3f479e 100644
--- a/src/client/app/common/hotkey.ts
+++ b/src/client/app/common/hotkey.ts
@@ -52,7 +52,7 @@ function match(e: KeyboardEvent, patterns: action['patterns']): boolean {
pattern.ctrl == e.ctrlKey &&
pattern.shift == e.shiftKey &&
pattern.alt == e.altKey &&
- e.metaKey == false
+ !e.metaKey
);
}