Needed to include "this" when elevating iemobile mouse events to touch

This commit is contained in:
Jason Follas
2014-05-21 09:25:31 -04:00
parent 2809372d90
commit 8d5298d7ca

View File

@@ -388,7 +388,7 @@
// workaround for mobile IE to force touch event when unhandled pointer event elevates into a mouse event
if (Kinetic.UA.ieMobile) {
return _touchmove(evt);
return this._touchmove(evt);
}
// workaround fake mousemove event in chrome browser https://code.google.com/p/chromium/issues/detail?id=161464
@@ -447,7 +447,7 @@
// workaround for mobile IE to force touch event when unhandled pointer event elevates into a mouse event
if (Kinetic.UA.ieMobile) {
return _touchstart(evt);
return this._touchstart(evt);
}
if (!Kinetic.UA.mobile) {
@@ -475,7 +475,7 @@
// workaround for mobile IE to force touch event when unhandled pointer event elevates into a mouse event
if (Kinetic.UA.ieMobile) {
return _touchend(evt);
return this._touchend(evt);
}
if (!Kinetic.UA.mobile) {
this._setPointerPosition(evt);