mirror of
https://github.com/Eugeny/tabby.git
synced 2026-08-24 10:14:31 -05:00
fixup
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user