feat: Always show the separator if there are visible tabs, b=closes #11349, c=tabs, workspaces

This commit is contained in:
mr. m
2025-11-19 19:14:45 +01:00
parent 306b8a6171
commit 4c5a3aeabb
3 changed files with 10 additions and 10 deletions

View File

@@ -2536,7 +2536,7 @@ var gZenWorkspaces = new (class extends nsZenMultiWindowFeature {
// <= 2 because we have the empty tab and the new tab button
const shouldHideSeparator = fromTabSelection
? pinnedContainer.hasAttribute('hide-separator')
: pinnedContainer.children.length === 1 || !visibleTabsFound();
: !visibleTabsFound();
if (shouldHideSeparator) {
pinnedContainer.setAttribute('hide-separator', 'true');
} else {