We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75a95cc commit ac62b3bCopy full SHA for ac62b3b
plus/agile_toolkit.js
@@ -88,9 +88,7 @@
88
89
Agile.DisplayObject.prototype.touchEnd = function(fun) {
90
this.touchEndHandler = function(e) {
91
- var x = e['targetTouches'] ? e['targetTouches'][0].pageX : e.pageX;
92
- var y = e['targetTouches'] ? e['targetTouches'][0].pageY : e.pageY;
93
- fun(x, y, e);
+ fun(e);
94
}
95
var events = Agile.Device.isPC() ? 'mouseup' : 'touchend';
96
this.element.addEventListener(events, this.touchEndHandler);
0 commit comments