3.7a4preでフルスクリーンモードがおかしくなっていた
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@6474 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
96e5a804ff
commit
7e7fde7227
@ -1083,12 +1083,21 @@ catch(e) {
|
|||||||
// Firefox 3 full screen
|
// Firefox 3 full screen
|
||||||
eval('FullScreen._animateUp = '+
|
eval('FullScreen._animateUp = '+
|
||||||
FullScreen._animateUp.toSource().replace(
|
FullScreen._animateUp.toSource().replace(
|
||||||
'gBrowser.mStrip.boxObject.height',
|
/((?:gBrowser\.mStrip|gNavToolbox)\.boxObject\.height)/,
|
||||||
'((gBrowser.getAttribute(TreeStyleTabService.kTABBAR_POSITION) != "top") ? 0 : gBrowser.mStrip.boxObject.height)'
|
'((gBrowser.getAttribute(TreeStyleTabService.kTABBAR_POSITION) != "top") ? 0 : $1)'
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
eval('FullScreen.mouseoverToggle = '+
|
eval('FullScreen.mouseoverToggle = '+
|
||||||
FullScreen.mouseoverToggle.toSource().replace(
|
FullScreen.mouseoverToggle.toSource().replace(
|
||||||
|
// Firefox 3.7 or later
|
||||||
|
'allFSToolbars[i].setAttribute("moz-collapsed", !aShow);',
|
||||||
|
'if (allFSToolbars[i].id != "TabsToolbar" || gBrowser.getAttribute(TreeStyleTabService.kTABBAR_POSITION) == "top") { $& }'
|
||||||
|
).replace(
|
||||||
|
// Firefox 3.7 or later
|
||||||
|
'this._isChromeCollapsed = !aShow;',
|
||||||
|
'gBrowser.treeStyleTab.updateFloatingTabbar(); $&'
|
||||||
|
).replace(
|
||||||
|
// Firefox 3.6 or older
|
||||||
'gBrowser.mStrip.setAttribute("moz-collapsed", !aShow);',
|
'gBrowser.mStrip.setAttribute("moz-collapsed", !aShow);',
|
||||||
'if (gBrowser.getAttribute(TreeStyleTabService.kTABBAR_POSITION) == "top") { $& }'
|
'if (gBrowser.getAttribute(TreeStyleTabService.kTABBAR_POSITION) == "top") { $& }'
|
||||||
)
|
)
|
||||||
|
@ -490,12 +490,11 @@ TreeStyleTabBrowserAutoHide.prototype = {
|
|||||||
|
|
||||||
default:
|
default:
|
||||||
case this.kMODE_SHRINK:
|
case this.kMODE_SHRINK:
|
||||||
if (pos == 'left' || pos == 'right') {
|
if (pos == 'left' || pos == 'right')
|
||||||
sv.setTabStripAttribute('width', this.getTreePref('tabbar.width'));
|
sv.setTabStripAttribute('width', this.getTreePref('tabbar.width'));
|
||||||
sv.updateFloatingTabbar();
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
sv.updateFloatingTabbar();
|
||||||
},
|
},
|
||||||
|
|
||||||
onHiding : function TSTAutoHide_onHiding()
|
onHiding : function TSTAutoHide_onHiding()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user