Update src/browser/base/content/ZenUIManager.mjs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: mr. m  <91018726+mauro-balades@users.noreply.github.com>
This commit is contained in:
mr. m
2025-03-29 20:45:44 +01:00
committed by GitHub
parent 14395263aa
commit a78f8586f4

View File

@@ -65,7 +65,11 @@ var gZenUIManager = {
tabs.style.removeProperty('flex');
tabs.style.maxHeight = height + 'px';
gZenVerticalTabsManager.actualWindowButtons.removeAttribute('zen-has-hover');
gURLBar.zenUpdateLayoutBreakout();
try {
gURLBar.zenUpdateLayoutBreakout();
} catch (error) {
console.error('Error updating layout breakout:', error);
}
},
get tabsWrapper() {