mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 940052 - [Australis] Customize tab gets truncated after entering customization mode. r=mconley
This commit is contained in:
parent
9f3dbd06c6
commit
80055144a3
@ -44,6 +44,14 @@ let CustomizationHandler = {
|
||||
PlacesToolbarHelper.customizeStart();
|
||||
BookmarkingUI.customizeStart();
|
||||
DownloadsButton.customizeStart();
|
||||
|
||||
// The additional padding on the sides of the browser
|
||||
// can cause the customize tab to get clipped.
|
||||
let tabContainer = gBrowser.tabContainer;
|
||||
if (tabContainer.getAttribute("overflow") == "true") {
|
||||
let tabstrip = tabContainer.mTabstrip;
|
||||
tabstrip.ensureElementIsVisible(gBrowser.selectedTab, true);
|
||||
}
|
||||
},
|
||||
|
||||
_customizationEnding: function(aDetails) {
|
||||
|
Loading…
Reference in New Issue
Block a user