タブバーを自動的に隠す設定で、完全にタブバーを隠す時の挙動を修正
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@7176 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
d618f3f1ff
commit
4f575eea9e
@ -23,7 +23,9 @@
|
||||
.tabbrowser-strip[treestyletab-tabbar-autohide="hidden"],
|
||||
.tabbrowser-tabs[treestyletab-tabbar-autohide="hidden"],
|
||||
.tabbrowser-strip[treestyletab-tabbar-autohide="hidden"]+splitter,
|
||||
tabbrowser:not([treestyletab-tabbar-autohide="hidden"]) .treestyletab-tabbar-toggler,
|
||||
tabbrowser[treestyletab-tabbar-autohide-mode="1"][tabcontainer] .tabbrowser-strip[treestyletab-tabbar-placeholder="true"],
|
||||
tabbrowser[treestyletab-tabbar-autohide-mode="1"][tabcontainer] .tabbrowser-strip[treestyletab-tabbar-placeholder="true"]+splitter,
|
||||
.treestyletab-tabbar-toggler,
|
||||
#TabsToolbar[treestyletab-tabbar-autohide="hidden"] > *,
|
||||
#TabsToolbar #treestyletab-tabbar-resizer-box,
|
||||
#appcontent[ahFull="true"] .tabbrowser-strip[ahHIDE="true"]+splitter /* AutoHide */,
|
||||
@ -37,6 +39,11 @@ window[chromehidden~="toolbar"] .tabbrowser-strip[treestyletab-tabbar-placeholde
|
||||
visibility: collapse;
|
||||
}
|
||||
|
||||
tabbrowser[treestyletab-tabbar-autohide-mode="1"][tabcontainer] .treestyletab-tabbar-toggler,
|
||||
tabbrowser[treestyletab-tabbar-autohide-mode="1"][treestyletab-tabbar-autohide="hidden"] .treestyletab-tabbar-toggler {
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
|
||||
.tabbrowser-tabs[treestyletab-mode="vertical"] .tabbrowser-arrowscrollbox > .scrollbutton-up,
|
||||
.tabbrowser-tabs[treestyletab-mode="vertical"] .tabbrowser-arrowscrollbox > .scrollbutton-down-stack,
|
||||
|
@ -1370,9 +1370,9 @@ TreeStyleTabBrowser.prototype = {
|
||||
updateFloatingTabbarResizer : function TSTBrowser_updateFloatingTabbarResizer(aSize)
|
||||
{
|
||||
var width = aSize.width;
|
||||
var realWidth = aSize.realWidth;
|
||||
var realWidth = this.autoHide.mode == this.autoHide.kMODE_HIDE ? 0 : aSize.realWidth ;
|
||||
var height = aSize.height;
|
||||
var realHeight = aSize.realHeight;
|
||||
var realHeight = this.autoHide.mode == this.autoHide.kMODE_HIDE ? 0 : aSize.realHeight ;
|
||||
var pos = this.currentTabbarPosition;
|
||||
var vertical = this.isVertical;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user