mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-05 19:09:54 +00:00
fixed "notify on activity" not working for the currently active tab
This commit is contained in:
parent
53f3962640
commit
7be921592a
@ -133,6 +133,12 @@ export class AppService {
|
||||
this.tabClosed.next(tab)
|
||||
})
|
||||
|
||||
tab.activity$.subscribe(() => {
|
||||
if (tab === this._activeTab) {
|
||||
tab.clearActivity()
|
||||
}
|
||||
})
|
||||
|
||||
if (tab instanceof SplitTabComponent) {
|
||||
tab.tabAdded$.subscribe(() => this.emitTabsChanged())
|
||||
tab.tabRemoved$.subscribe(() => this.emitTabsChanged())
|
||||
|
Loading…
x
Reference in New Issue
Block a user