Bug 916901 - Address issue with precise/imprecise detection when apz consumes touch. r=mbrubeck

This commit is contained in:
Jim Mathies 2013-09-17 06:14:36 -05:00
parent 9c0177b972
commit 1de7e95bdc

View File

@ -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: