Subscribe to the MenuStack hasFocus events.
()
| 242 | |
| 243 | /** Subscribe to the MenuStack hasFocus events. */ |
| 244 | private _subscribeToMenuStackHasFocus() { |
| 245 | if (this.isInline) { |
| 246 | this.menuStack.hasFocus.pipe(takeUntil(this.destroyed)).subscribe(hasFocus => { |
| 247 | this._menuStackHasFocus.set(hasFocus); |
| 248 | }); |
| 249 | } |
| 250 | } |
| 251 | |
| 252 | /** |
| 253 | * Set the PointerFocusTracker and ensure that when mouse focus changes the key manager is updated |