From d4caa79a112c7a4545f391c872164b4c619f3c24 Mon Sep 17 00:00:00 2001 From: piro Date: Fri, 14 Mar 2008 00:13:34 +0000 Subject: [PATCH] =?UTF-8?q?=E3=82=B9=E3=82=AF=E3=83=AD=E3=83=BC=E3=83=AB?= =?UTF-8?q?=E3=83=90=E3=83=BC=E3=81=AE=E6=93=8D=E4=BD=9C=E4=B8=AD=E3=81=AF?= =?UTF-8?q?=E3=82=BF=E3=83=96=E3=83=90=E3=83=BC=E3=81=AE=E8=87=AA=E5=8B=95?= =?UTF-8?q?=E9=96=8B=E9=96=89=E3=82=92=E8=A1=8C=E3=82=8F=E3=81=AA=E3=81=84?= =?UTF-8?q?=E3=82=88=E3=81=86=E3=81=AB=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@2103 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- content/treestyletab/treestyletabbrowser.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/treestyletab/treestyletabbrowser.js b/content/treestyletab/treestyletabbrowser.js index 5828ea83..52e5a4c2 100644 --- a/content/treestyletab/treestyletabbrowser.js +++ b/content/treestyletab/treestyletabbrowser.js @@ -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))