mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
fix sidebar mid-click regression
This commit is contained in:
parent
3bad6fe1f8
commit
3b6b72cbae
@ -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>
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user