touch bug
touch = new Touch (touchEventInfo.x, touchEventInfo.x, ... must be touch = new Touch (touchEventInfo.x, touchEventInfo.y, ...
This commit is contained in:
@@ -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;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user