タブバーを自動的に隠す設定で、完全にタブバーを隠す時の挙動を修正

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@7176 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2010-09-10 13:46:06 +00:00
parent d618f3f1ff
commit 4f575eea9e
2 changed files with 10 additions and 3 deletions

View File

@ -23,7 +23,9 @@
.tabbrowser-strip[treestyletab-tabbar-autohide="hidden"], .tabbrowser-strip[treestyletab-tabbar-autohide="hidden"],
.tabbrowser-tabs[treestyletab-tabbar-autohide="hidden"], .tabbrowser-tabs[treestyletab-tabbar-autohide="hidden"],
.tabbrowser-strip[treestyletab-tabbar-autohide="hidden"]+splitter, .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-autohide="hidden"] > *,
#TabsToolbar #treestyletab-tabbar-resizer-box, #TabsToolbar #treestyletab-tabbar-resizer-box,
#appcontent[ahFull="true"] .tabbrowser-strip[ahHIDE="true"]+splitter /* AutoHide */, #appcontent[ahFull="true"] .tabbrowser-strip[ahHIDE="true"]+splitter /* AutoHide */,
@ -36,6 +38,11 @@ window[chromehidden~="toolbar"] .tabbrowser-strip[treestyletab-tabbar-placeholde
window[chromehidden~="toolbar"] .tabbrowser-strip[treestyletab-tabbar-placeholder="true"]+splitter { window[chromehidden~="toolbar"] .tabbrowser-strip[treestyletab-tabbar-placeholder="true"]+splitter {
visibility: collapse; 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-up,

View File

@ -1370,9 +1370,9 @@ TreeStyleTabBrowser.prototype = {
updateFloatingTabbarResizer : function TSTBrowser_updateFloatingTabbarResizer(aSize) updateFloatingTabbarResizer : function TSTBrowser_updateFloatingTabbarResizer(aSize)
{ {
var width = aSize.width; 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 height = aSize.height;
var realHeight = aSize.realHeight; var realHeight = this.autoHide.mode == this.autoHide.kMODE_HIDE ? 0 : aSize.realHeight ;
var pos = this.currentTabbarPosition; var pos = this.currentTabbarPosition;
var vertical = this.isVertical; var vertical = this.isVertical;