Fix setting keyboard shortcuts
This commit is contained in:
parent
81f3e62446
commit
0dbd5b456c
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user