You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently Paper.js isn't listening to mouse events (mousedown, mousemove, mouseup) for practically any device supporting ontouchstart. This is causing clicks coming from mice connected to tablets or phones to not be detected by Paper.js tools.
Currently Paper.js isn't listening to mouse events (
mousedown
,mousemove
,mouseup
) for practically any device supportingontouchstart
. This is causing clicks coming from mice connected to tablets or phones to not be detected by Paper.js tools.paper.js/src/view/View.js
Lines 1079 to 1090 in 56d153a
I'm creating a PR to remove the check and listen to both touch and mouse events instead of excluding mouse on touch devices.
Description/Steps to reproduce
Link to reproduction test-case
https://plnkr.co/edit/vUzAv72ZNODG3aSG
Expected result
Yellow circle should move to the pointer location
Additional information
Tested on iOS & iPadOS 15, should be reproducible on other versions of iOS and Android tablets.
The text was updated successfully, but these errors were encountered: