fix: Fixed windows control butons can be seen when switching compact mode, b=closes #9922, c=common

This commit is contained in:
Mr. M
2025-08-19 01:42:55 +02:00
parent 1e59e5d712
commit 04105c3c5e

View File

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