mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-04 17:06:35 +00:00
New welcome page and logo
This commit is contained in:
@@ -295,13 +295,15 @@ var gZenVerticalTabsManager = {
|
||||
}
|
||||
|
||||
const appContentNavbarContaienr = document.getElementById('zen-appcontent-navbar-container');
|
||||
if ((!isRightSide && this.isWindowsStyledButtons) || (isRightSide && !this.isWindowsStyledButtons)
|
||||
let shouldHide = false;
|
||||
if (((!isRightSide && this.isWindowsStyledButtons) || (isRightSide && !this.isWindowsStyledButtons)
|
||||
|| (
|
||||
isCompactMode && isSingleToolbar && !(
|
||||
(!this.isWindowsStyledButtons && !isRightSide)
|
||||
)
|
||||
)) {
|
||||
)) && isSingleToolbar) {
|
||||
appContentNavbarContaienr.setAttribute('should-hide', 'true');
|
||||
shouldHide = true;
|
||||
} else {
|
||||
appContentNavbarContaienr.removeAttribute('should-hide');
|
||||
}
|
||||
@@ -403,6 +405,10 @@ var gZenVerticalTabsManager = {
|
||||
}
|
||||
}
|
||||
|
||||
if (shouldHide) {
|
||||
appContentNavbarContaienr.append(windowButtons);
|
||||
}
|
||||
|
||||
gZenCompactModeManager.updateCompactModeContext(isSingleToolbar);
|
||||
|
||||
// Always move the splitter next to the sidebar
|
||||
|
Reference in New Issue
Block a user