QuantumBadger / Speedy2D

Rust library for hardware accelerated drawing of 2D shapes, images, and text, with an easy to use API.
Apache License 2.0
386 stars 42 forks source link

[Web]: Use pointer events #107

Closed ghost closed 7 months ago

ghost commented 10 months ago

I've changed the use of mouse events to pointer events. This results in better support for touch devices, e. g. "touch dragging" doesn't work with the interpreted mouse events. This is currently used by my chess web gui and seems to work fine there.

QuantumBadger commented 10 months ago

Thank you for this, I'll review it soon!