mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 487829 - Scroll buttons should only react to left clicks. r=enn
--HG-- extra : rebase_source : fbf2e82c47d86dc98bfe5f9412f16770240ef455
This commit is contained in:
parent
6b20cad565
commit
afde3ec6d5
@ -549,9 +549,9 @@
|
||||
xbl:inherits="orient"
|
||||
anonid="scrollbutton-up"
|
||||
onclick="_distanceScroll(event);"
|
||||
onmousedown="_startScroll(-1);"
|
||||
onmousedown="if (event.button == 0) _startScroll(-1);"
|
||||
onmouseup="if (event.button == 0) _stopScroll();"
|
||||
onmouseover="_continueScroll(-1);"
|
||||
onmouseup="_stopScroll();"
|
||||
onmouseout="_pauseScroll();"/>
|
||||
<xul:scrollbox xbl:inherits="orient,align,pack,dir" flex="1" anonid="scrollbox">
|
||||
<children/>
|
||||
@ -560,9 +560,9 @@
|
||||
xbl:inherits="orient"
|
||||
anonid="scrollbutton-down"
|
||||
onclick="_distanceScroll(event);"
|
||||
onmousedown="_startScroll(1);"
|
||||
onmousedown="if (event.button == 0) _startScroll(1);"
|
||||
onmouseup="if (event.button == 0) _stopScroll();"
|
||||
onmouseover="_continueScroll(1);"
|
||||
onmouseup="_stopScroll();"
|
||||
onmouseout="_pauseScroll();"/>
|
||||
</content>
|
||||
<implementation implements="nsITimerCallback, nsIDOMEventListener">
|
||||
|
Loading…
Reference in New Issue
Block a user