touch bug

touch = new Touch (touchEventInfo.x, touchEventInfo.x, ...
must be
touch = new Touch (touchEventInfo.x, touchEventInfo.y, ...
This commit is contained in:
DEaDA
2015-09-19 11:37:54 +03:00
parent 64db9c9f8e
commit 45df5135ab

View File

@@ -352,7 +352,7 @@ class NativeApplication {
if (touch == null) {
touch = new Touch (touchEventInfo.x, touchEventInfo.x, touchEventInfo.id, touchEventInfo.dx, touchEventInfo.dy, touchEventInfo.pressure, touchEventInfo.device);
touch = new Touch (touchEventInfo.x, touchEventInfo.y, touchEventInfo.id, touchEventInfo.dx, touchEventInfo.dy, touchEventInfo.pressure, touchEventInfo.device);
} else {
@@ -914,4 +914,4 @@ private class WindowEventInfo {
var WINDOW_RESIZE = 9;
var WINDOW_RESTORE = 10;
}
}