Refactor tab blurring logic in ZenWorkspaces for improved readability

This commit is contained in:
mr. M
2025-02-21 23:10:43 +01:00
parent 32ab4a660f
commit ec30e4c100

View File

@@ -2025,7 +2025,7 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
}
findTabToBlur(tab) {
return !this._shouldChangeToTab(tab) && this._emptyTab ? this._emptyTab : tab;
return (!this._shouldChangeToTab(tab)) && this._emptyTab ? this._emptyTab : tab;
}
async setDefaultWorkspace() {