mirror of
https://github.com/zen-browser/desktop.git
synced 2026-03-05 00:07:04 +00:00
fix: Fixed windows control butons can be seen when switching compact mode, b=closes #9922, c=common
This commit is contained in:
@@ -807,6 +807,7 @@ var gZenVerticalTabsManager = {
|
||||
|
||||
const appContentNavbarContaienr = document.getElementById('zen-appcontent-navbar-container');
|
||||
const appContentNavbarWrapper = document.getElementById('zen-appcontent-navbar-wrapper');
|
||||
appContentNavbarWrapper.style.transition = 'none';
|
||||
let shouldHide = false;
|
||||
if (
|
||||
((!isRightSide && this.isWindowsStyledButtons) ||
|
||||
@@ -951,6 +952,7 @@ var gZenVerticalTabsManager = {
|
||||
}
|
||||
gZenUIManager.updateTabsToolbar();
|
||||
this.rebuildURLBarMenus();
|
||||
appContentNavbarWrapper.style.transition = '';
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user