From 0dbd5b456c84e1f80d87d2dba585f799e060aa50 Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Thu, 6 Jun 2024 00:50:08 +0200 Subject: [PATCH] Fix setting keyboard shortcuts --- src/common/js/KeyboardShortcutParser.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/js/KeyboardShortcutParser.ts b/src/common/js/KeyboardShortcutParser.ts index 3e13e46..90f721b 100644 --- a/src/common/js/KeyboardShortcutParser.ts +++ b/src/common/js/KeyboardShortcutParser.ts @@ -25,8 +25,9 @@ class KeyboardShortcutParser { static generateShortcutFromKeypress(event) { return { ctrlKey: event.ctrlKey, - shiftKey: event.altKey, altKey: event.altKey, + shiftKey: event.shiftKey, + metaKey: event.metaKey, code: event.code, key: event.key, keyup: true,