reduce unnecessary tab activation events

This commit is contained in:
zadam
2020-01-25 10:25:06 +01:00
parent 3254b551d8
commit 52a907651e
4 changed files with 10 additions and 10 deletions

View File

@@ -314,6 +314,10 @@ class AppContext {
}
activateTab(tabId) {
if (tabId === this.activeTabId) {
return;
}
const oldActiveTabId = this.activeTabId;
this.activeTabId = tabId;