fix touch input being pressed twice on iOS

This commit is contained in:
RandomityGuy 2026-02-06 15:13:02 +00:00
parent 262e956751
commit b4e3179193

View file

@ -180,7 +180,7 @@ class MarbleGame {
});
pointercontainer.addEventListener('touchend', (e:js.html.TouchEvent) -> {
@:privateAccess Key.keyPressed[Key.MOUSE_LEFT] = -Key.getFrame();
// @:privateAccess Key.keyPressed[Key.MOUSE_LEFT] = -Key.getFrame();
});
pointercontainer.addEventListener('touchmove', (e:js.html.TouchEvent) -> {