fix touch input being pressed twice on iOS

This commit is contained in:
RandomityGuy 2026-02-06 15:13:02 +00:00
parent 31c109d89b
commit ca6bb55669

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) -> {