From 4f4eb46a604662ffaf73c129284116ef7bfd5833 Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Wed, 13 Apr 2022 00:24:10 +0200 Subject: [PATCH] Clear keyboard shortcut --- src/common/components/EditShortcutButton.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/common/components/EditShortcutButton.vue b/src/common/components/EditShortcutButton.vue index 74c4184..439bdd8 100644 --- a/src/common/components/EditShortcutButton.vue +++ b/src/common/components/EditShortcutButton.vue @@ -19,6 +19,9 @@ > +
+ +
@@ -99,7 +102,6 @@ export default { if (fixedShortcut.notModifier) { this.editing = false; this.$emit('shortcutChanged', this.currentKey); - console.log('emitted shortcut:', shortcut, 'raw event:', event); } else { // if none of the modifiers are pressed and if no other key is being held down, // we need to reset label back to 'pls press key'