mirror of
https://github.com/Eugeny/tabby.git
synced 2025-10-04 05:54:57 +00:00
a bit more reliable hotkey handling
This commit is contained in:
@@ -145,6 +145,8 @@ export class HotkeysService {
|
||||
})
|
||||
this.recognitionPhase = false
|
||||
}
|
||||
this.pressedKeys.clear()
|
||||
this.pressedKeyTimestamps.clear()
|
||||
this.removePressedKey(keyName)
|
||||
}
|
||||
|
||||
@@ -296,6 +298,7 @@ export class HotkeysService {
|
||||
this._hotkey.next(hotkey)
|
||||
this.pressedHotkey = hotkey
|
||||
}
|
||||
this.recognitionPhase = false
|
||||
}
|
||||
|
||||
private emitHotkeyOff (hotkey: string) {
|
||||
|
Reference in New Issue
Block a user