This commit is contained in:
Eugene
2026-06-09 09:23:40 +02:00
parent 692ebdd297
commit 49644f645e
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -61,4 +61,4 @@ hacks:
globalHotkey: null
language: null
defaultQuickConnectProvider: "ssh"
showProfileTree: true
showProfileTree: false
@@ -50,8 +50,10 @@ export class HotkeyInputModalComponent extends BaseComponent {
super()
this.hotkeys.clearCurrentKeystrokes()
this.subscribeUntilDestroyed(hotkeys.keyEvent$, event => {
if (event instanceof KeyboardEvent) {
event.preventDefault()
event.stopPropagation()
}
})
this.subscribeUntilDestroyed(hotkeys.keystroke$, keystroke => {
this.lastKeyEvent = performance.now()