Fix setting keyboard shortcuts

This commit is contained in:
Tamius Han 2024-06-06 00:50:08 +02:00
parent 81f3e62446
commit 0dbd5b456c

View File

@ -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,