OwenPendrighElliott / DistributionWebApp

1 stars 0 forks source link

Fix touch events on android #21

Open jameslindesay opened 2 years ago

jameslindesay commented 2 years ago

Tried on firefox and chrome, neither work.

I get a line drawn when I tap that I assume is a single pixel since the statistics show up as 550, 50, 28.87 (default uniform distribution).

jameslindesay commented 2 years ago

Probably the touchmove event because it knows the canvas is being touched.

jameslindesay commented 2 years ago

See https://stackoverflow.com/questions/20412982/javascript-any-workarounds-for-getting-chrome-for-android-to-fire-off-touchmove

And

https://stackoverflow.com/questions/11204460/the-touchmove-event-on-android-system-transformer-prime