This commit is contained in:
Eugene committed 2026-06-09 09:23:40 +02:00
1 parent 692ebdd297
commit 49644f645e
2 files changed
+5 -3

No files matched your search

+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 => {
event.preventDefault()
event.stopPropagation()
if (event instanceof KeyboardEvent) {
event.preventDefault()
event.stopPropagation()
}
})
this.subscribeUntilDestroyed(hotkeys.keystroke$, keystroke => {
this.lastKeyEvent = performance.now()