зеркало из https://github.com/mozilla/gecko-dev.git
Bug 916901 - Address issue with precise/imprecise detection when apz consumes touch. r=mbrubeck
This commit is contained in:
Родитель
0781f5e0b5
Коммит
4068a3d163
|
@ -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:
|
||||
|
|
Загрузка…
Ссылка в новой задаче