1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-12-23 02:22:02 +03:00

fixed matchedHotkey deprecation - fixes #4153, fixes #4156

This commit is contained in:
Eugene Pankov 2021-07-09 09:46:54 +02:00
parent 26ff6f17e7
commit 833a348fdb
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4

View File

@ -53,7 +53,7 @@ export class HotkeysService {
// deprecated
this.hotkey$.subscribe(h => this.matchedHotkey.emit(h))
this.matchedHotkey.subscribe = deprecate(s => this.matchedHotkey.subscribe(s), 'matchedHotkey is deprecated, use hotkey$')
this.matchedHotkey.subscribe = deprecate(s => this.hotkey$.subscribe(s), 'matchedHotkey is deprecated, use hotkey$')
}
/**