Bug 1930499 - Only transform urlbar when broken out. r=urlbar-reviewers,dao

Differential Revision: https://phabricator.services.mozilla.com/D228599
This commit is contained in:
Emilio Cobos Álvarez
2024-11-12 10:48:04 +00:00
parent b56d9b9c37
commit a127d4a2a3

View File

@@ -432,7 +432,9 @@ var FullScreen = {
let transform = shiftSize > 0 ? `translateY(${shiftSize}px)` : "";
gNavToolbox.style.transform = transform;
gURLBar.textbox.style.transform = transform;
gURLBar.textbox.style.transform = gURLBar.textbox.hasAttribute("breakout")
? transform
: "";
if (shiftSize > 0) {
// If the mouse tracking missed our fullScreenToggler, then the toolbox
// might not have been shown before the menubar is animated down. Make