forked from paperjs/paper.js
-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
Description
There is a bug in the code which decides which events to bind (pointer, touch, mouse). It uses user-agent sniffing to intentionally not bind mouse events for things that look like Android, which is wrong because android can support a plugged in mouse. Also, the way it decides to use pointer events (which eliminates the need for user-agent sniffing) does not work, navigator.pointerEnabled
is no longer supported.
https://github.com/paperjs/paper.js/blob/develop/src/view/View.js#L1070-L1090
This causes an issue where (a) you are not able to use an android device with a mouse and (b) if you embed the paint editor in an android webview, then use it on a chromebook for example, the trackpad does not work.