mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-07 10:26:36 +00:00
Refactor tab blurring logic in ZenWorkspaces for improved readability
This commit is contained in:
@@ -2025,7 +2025,7 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
|
|||||||
}
|
}
|
||||||
|
|
||||||
findTabToBlur(tab) {
|
findTabToBlur(tab) {
|
||||||
return !this._shouldChangeToTab(tab) && this._emptyTab ? this._emptyTab : tab;
|
return (!this._shouldChangeToTab(tab)) && this._emptyTab ? this._emptyTab : tab;
|
||||||
}
|
}
|
||||||
|
|
||||||
async setDefaultWorkspace() {
|
async setDefaultWorkspace() {
|
||||||
|
Reference in New Issue
Block a user