diff options
-rw-r--r-- | ui.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/ui.js b/ui.js index 72079ae..ba60ca0 100644 --- a/ui.js +++ b/ui.js @@ -2295,16 +2295,6 @@ class ContextMenu extends FocusElement { return false } else if (this.keyboardSelector.keyPressed(keyBuf)) { return false - - const key = String.fromCharCode(keyBuf[0]).toLowerCase() - for (const input of this.form.inputs) { - if (input.selectable && input.menuKeyShortcut) { - if (input.menuKeyShortcut.toLowerCase() === key) { - this.form.selectInput(input) - return false - } - } - } } super.keyPressed(keyBuf) } |