必要ない時は表示を更新しない

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@7037 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2010-07-29 00:40:11 +00:00
parent c3df81bd9d
commit a010c56dac

View File

@ -1337,7 +1337,9 @@ TreeStyleTabBrowser.prototype = {
this.mTabBrowser.tabContainer.removeAttribute('context');
}
this._tabStripPlaceHolder.collapsed = this.splitter.collapsed = (this.getPref('browser.tabs.autoHide') && this.getTabsArray(this.mTabBrowser).length == 1);
this._tabStripPlaceHolder.collapsed =
this.splitter.collapsed =
(this.getPref('browser.tabs.autoHide') && this.getTabsArray(this.mTabBrowser).length == 1);
if (this.mTabBrowser != gBrowser)
return;
@ -1760,7 +1762,9 @@ TreeStyleTabBrowser.prototype = {
break;
case 'browser.tabs.autoHide':
return this.updateFloatingTabbar();
if (this.getTabsArray(this.mTabBrowser).length == 1)
this.updateFloatingTabbar();
break;
default:
break;