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 globalHotkey: null
language: null language: null
defaultQuickConnectProvider: "ssh" defaultQuickConnectProvider: "ssh"
showProfileTree: true showProfileTree: false
@@ -50,8 +50,10 @@ export class HotkeyInputModalComponent extends BaseComponent {
super() super()
this.hotkeys.clearCurrentKeystrokes() this.hotkeys.clearCurrentKeystrokes()
this.subscribeUntilDestroyed(hotkeys.keyEvent$, event => { this.subscribeUntilDestroyed(hotkeys.keyEvent$, event => {
event.preventDefault() if (event instanceof KeyboardEvent) {
event.stopPropagation() event.preventDefault()
event.stopPropagation()
}
}) })
this.subscribeUntilDestroyed(hotkeys.keystroke$, keystroke => { this.subscribeUntilDestroyed(hotkeys.keystroke$, keystroke => {
this.lastKeyEvent = performance.now() this.lastKeyEvent = performance.now()