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:
mr. m
2025-06-24 17:44:22 +02:00
parent 9971dbd0ad
commit fe77048619
11 changed files with 89 additions and 49 deletions

View File

@@ -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');
}
}
})();