スクロールバーの操作中はタブバーの自動開閉を行わないようにした

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@2103 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2008-03-14 00:13:34 +00:00
parent d16e133155
commit d4caa79a11

View File

@ -967,6 +967,7 @@ TreeStyleTabBrowser.prototype = {
)
)
this.hideTabbar();
this.lastMouseDownTarget = aEvent.originalTarget.localName;
}
return;
@ -976,6 +977,7 @@ TreeStyleTabBrowser.prototype = {
this.mTabBrowser.removeAttribute(this.kRESIZING);
}
this.cancelShowHideTabbarOnMousemove();
this.lastMouseDownTarget = null;
return;
case 'mousemove':
@ -990,6 +992,8 @@ TreeStyleTabBrowser.prototype = {
this.showHideTabbarOnMousemove(aEvent);
return;
}
if (/^(scrollbar|thumb|slider|scrollbarbutton)$/i.test(this.lastMouseDownTarget))
return;
case 'resize':
if (this.tabbarShown) {
switch (this.mTabBrowser.getAttribute(this.kTABBAR_POSITION))