Fix TOUCH

This commit is contained in:
otya128 committed 2016-12-17 16:52:09 +09:00
1 parent c5e93745f4
commit c1497252aa
1 file changed
+3 -1
+3 -1
View File
@@ -800,7 +800,9 @@ class PetitComputer
{ {
if (touchPosition.tm) if (touchPosition.tm)
{ {
touchPosition = Touch(0, mousex, mousey); auto old = touchPosition;
old.tm = 0;
touchPosition = old;
} }
} }
} }