mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 916901 - Address issue with precise/imprecise detection when apz consumes touch. r=mbrubeck
This commit is contained in:
parent
9c0177b972
commit
1de7e95bdc
@ -1195,6 +1195,7 @@ var InputSourceHelper = {
|
||||
window.addEventListener("mousedown", this, true);
|
||||
window.addEventListener("touchstart", this, true);
|
||||
window.addEventListener("touchend", this, true);
|
||||
window.addEventListener("touchcancel", this, true);
|
||||
},
|
||||
|
||||
_precise: function () {
|
||||
@ -1218,6 +1219,7 @@ var InputSourceHelper = {
|
||||
this.touchIsActive = true;
|
||||
break;
|
||||
case "touchend":
|
||||
case "touchcancel":
|
||||
this.touchIsActive = false;
|
||||
break;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user