fix sidebar mid-click regression

This commit is contained in:
noririty%jcom.home.ne.jp 2003-07-24 11:01:40 +00:00
parent 3bad6fe1f8
commit 3b6b72cbae
2 changed files with 2 additions and 2 deletions

View File

@ -1050,7 +1050,7 @@
<spacer flex="1"/>
<toolbarbutton class="tabs-closebutton" oncommand="toggleSidebar();"/>
</sidebarheader>
<browser id="sidebar" flex="1"
<browser id="sidebar" flex="1" autoscroll="false"
style="min-width: 150px; width: 200px; max-width: 400px;"/>
</vbox>

View File

@ -615,7 +615,7 @@
</handler>
<handler event="mousedown">
<![CDATA[
if (!this._isScrolling && event.button == 1 && !this.isLink(event.originalTarget)) {
if (!this.getAttribute("autoscroll") == "false" && !this._isScrolling && event.button == 1 && !this.isLink(event.originalTarget)) {
this._startX = event.clientX; this._startY = event.clientY;
this._distanceX = 0; this._distanceY = 0;
this._scrollingFingerFree = false;