ehmorris / lunar-lander

A web-based lunar lander game written in plain JavaScript, HTML, and CSS with no dependencies
https://ehmorris.com/lander/
154 stars 18 forks source link

Touchmove cancels valid current touches #20

Open ehmorris opened 1 year ago

ehmorris commented 1 year ago

Reproduce:

This is a touchmove regression, probably due to the touches array changes made here: https://github.com/ehmorris/lunar-lander/commit/5092acbce9dff0a5825021a522b7ef011e2d200c

ehmorris commented 1 year ago

https://github.com/ehmorris/lunar-lander/commit/d205ac8c93eb19aae33307590c8e749290a2330c

ehmorris commented 1 year ago

^ This did not fix it. So it's unclear why some touches are being cancelled.