Minefieldではタブを既定の位置以外に置いている時はタブバーの余白でタブのコンテキストメニューを表示するようにした

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@7030 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2010-07-21 14:42:40 +00:00
parent 2560693e97
commit 61027e9efc

View File

@ -1324,6 +1324,8 @@ TreeStyleTabBrowser.prototype = {
strip.style.height = (tabContainerBox.height = height)+'px';
tabContainerBox.collapsed = (this.splitter && this.splitter.getAttribute('state') == 'collapsed');
this.mTabBrowser.tabContainer.setAttribute('context', this.mTabBrowser.tabContextMenu.id);
}
else {
tabContainerBox.collapsed = false;
@ -1331,6 +1333,8 @@ TreeStyleTabBrowser.prototype = {
strip.style.left = '';
strip.style.width = '';
strip.style.height = '';
this.mTabBrowser.tabContainer.removeAttribute('context');
}
if (this.mTabBrowser != gBrowser)