タブバーを自動で畳む機能を有効にしており、畳み方を小さな幅に畳むようにしている時、フルスクリーン表示に切り替えると、展開されたタブバーの幅が「小さな幅に折りたたまれた」状態のタブバーの幅になってしまう問題を修正
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@3954 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
6557c1f55c
commit
475ca96195
@ -1469,12 +1469,13 @@ catch(e) {
|
||||
<![CDATA[{
|
||||
var treeStyleTab = gBrowser.treeStyleTab;
|
||||
if (gBrowser.getAttribute(treeStyleTab.kTABBAR_POSITION) != 'top') {
|
||||
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' );
|
||||
treeStyleTab.endAutoHide();
|
||||
if (window.fullScreen)
|
||||
treeStyleTab.checkTabsIndentOverflow();
|
||||
if (treeStyleTab.autoHideMode != treeStyleTab.kAUTOHIDE_MODE_DISABLED)
|
||||
treeStyleTab.startAutoHide();
|
||||
treeStyleTab.startAutoHide();
|
||||
}
|
||||
]]>
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user