mirror of
https://github.com/zen-browser/desktop.git
synced 2026-04-21 06:45:42 +00:00
feat: Always show the separator if there are visible tabs, b=closes #11349, c=tabs, workspaces
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user