タブバーを自動で畳む機能を有効にしており、畳み方を小さな幅に畳むようにしている時、フルスクリーン表示に切り替えると、展開されたタブバーの幅が「小さな幅に折りたたまれた」状態のタブバーの幅になってしまう問題を修正

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@3954 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2009-03-29 19:41:41 +00:00
parent 6557c1f55c
commit 475ca96195

View File

@ -1469,8 +1469,9 @@ catch(e) {
<![CDATA[{
var treeStyleTab = gBrowser.treeStyleTab;
if (gBrowser.getAttribute(treeStyleTab.kTABBAR_POSITION) != 'top') {
treeStyleTab.autoHideMode = treeStyleTab.getTreePref(window.fullScreen ? 'tabbar.autoHide.mode' : 'tabbar.autoHide.mode.fullscreen' );
treeStyleTab.autoHideMode = treeStyleTab.getTreePref(window.fullScreen ? 'tabbar.autoHide.mode.fullscreen' : 'tabbar.autoHide.mode' );
treeStyleTab.endAutoHide();
treeStyleTab.autoHideMode = treeStyleTab.getTreePref(window.fullScreen ? 'tabbar.autoHide.mode' : 'tabbar.autoHide.mode.fullscreen' );
if (window.fullScreen)
treeStyleTab.checkTabsIndentOverflow();
if (treeStyleTab.autoHideMode != treeStyleTab.kAUTOHIDE_MODE_DISABLED)