mirror of
https://github.com/zen-browser/desktop.git
synced 2026-04-01 05:11:52 +00:00
fix: Fixed workspace overflows not working and refined new HSL picker, b=no-bug, c=tabs, common, compact-mode, workspaces
This commit is contained in:
@@ -2840,4 +2840,19 @@ var gZenWorkspaces = new (class extends ZenMultiWindowFeature {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
updateOverflowingTabs() {
|
||||
if (!this._hasInitializedTabsStrip) {
|
||||
return;
|
||||
}
|
||||
const currentWorkspaceStrip = this.workspaceElement(this.activeWorkspace);
|
||||
if (!currentWorkspaceStrip) {
|
||||
return;
|
||||
}
|
||||
if (currentWorkspaceStrip.overflows) {
|
||||
gBrowser.tabContainer.setAttribute('overflow', 'true');
|
||||
} else {
|
||||
gBrowser.tabContainer.removeAttribute('overflow');
|
||||
}
|
||||
}
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user