Improve touch input

This commit is contained in:
luboslenco
2020-02-17 15:29:31 +01:00
parent 62117ebce1
commit 40f29b8a1e
+6
View File
@@ -371,6 +371,12 @@ class UITrait {
lastPaintVecY = mouse.viewY / iron.App.h();
viewIndex = -1;
#if (kha_android || kha_ios)
// No mouse move events for touch, re-init last paint position on touch start
lastPaintX = -1;
lastPaintY = -1;
#end
}
}); //