Fix setting keyboard shortcuts
This commit is contained in:
parent
81f3e62446
commit
0dbd5b456c
@ -25,8 +25,9 @@ class KeyboardShortcutParser {
|
|||||||
static generateShortcutFromKeypress(event) {
|
static generateShortcutFromKeypress(event) {
|
||||||
return {
|
return {
|
||||||
ctrlKey: event.ctrlKey,
|
ctrlKey: event.ctrlKey,
|
||||||
shiftKey: event.altKey,
|
|
||||||
altKey: event.altKey,
|
altKey: event.altKey,
|
||||||
|
shiftKey: event.shiftKey,
|
||||||
|
metaKey: event.metaKey,
|
||||||
code: event.code,
|
code: event.code,
|
||||||
key: event.key,
|
key: event.key,
|
||||||
keyup: true,
|
keyup: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user