Skip to content

Commit f240fab

Browse files
committed
fix: Prevent urlbar unformatting when changing layouts, b=no-bug, c=common
1 parent bf6e493 commit f240fab

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/zen/common/ZenUIManager.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,9 @@ var gZenVerticalTabsManager = {
757757
document.getElementById('urlbar').style.setProperty('--urlbar-height', '32px');
758758
} else if (gURLBar.getAttribute('breakout-extend') !== 'true') {
759759
try {
760-
gURLBar.zenUpdateLayoutBreakout();
760+
gURLBar.zenUpdateLayoutBreakout().then(() => {
761+
gURLBar.valueFormatter._formatURL();
762+
});
761763
} catch (e) {
762764
console.warn(e);
763765
}

0 commit comments

Comments
 (0)