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$')
}
/**