mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 630594 - Click delay should be disabled if the page is not zoomable [r=mfinkle]
This commit is contained in:
parent
1380bb0ad7
commit
7acb7172c3
@ -1530,7 +1530,13 @@ const ContentTouchHandler = {
|
||||
this.tapOver(aEvent.clientX, aEvent.clientY);
|
||||
break;
|
||||
case "TapUp":
|
||||
this.tapUp(aEvent.clientX, aEvent.clientY);
|
||||
if (Browser.selectedTab.allowZoom) {
|
||||
this.tapUp(aEvent.clientX, aEvent.clientY);
|
||||
}
|
||||
else {
|
||||
this.tapSingle(aEvent.clientX, aEvent.clientY, aEvent.modifiers);
|
||||
aEvent.preventDefault();
|
||||
}
|
||||
break;
|
||||
case "TapSingle":
|
||||
this.tapSingle(aEvent.clientX, aEvent.clientY, aEvent.modifiers);
|
||||
|
Loading…
Reference in New Issue
Block a user