mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-10 13:54:27 +00:00
Bug 430687 - Maintain the tab bar's overflow state and scroll position in full-screen mode. r=mano
--HG-- extra : rebase_source : a43304f6df1b88d7846bb27e0ba243f90796973e
This commit is contained in:
parent
e758907bb2
commit
18de50e7fe
@ -3722,7 +3722,10 @@ var FullScreen =
|
||||
this._collapseCallback, false);
|
||||
}
|
||||
|
||||
gNavToolbox.collapsed = !aShow;
|
||||
// Hiding/collapsing the toolbox interferes with the tab bar's scrollbox,
|
||||
// so we just move it off-screen instead. See bug 430687.
|
||||
gNavToolbox.style.marginTop = aShow ? "" : -gNavToolbox.clientHeight + "px";
|
||||
|
||||
document.getElementById("fullscr-toggler").collapsed = aShow;
|
||||
this._isChromeCollapsed = !aShow;
|
||||
if (gPrefService.getIntPref("browser.fullscreen.animateUp") == 2)
|
||||
|
Loading…
Reference in New Issue
Block a user