Closed emilio closed 2 years ago
To fix #15 for Safari and Firefox.
MouseEvent.layerX is not standard (https://github.com/w3c/uievents/issues/135 tracks standardizing it), but meanwhile this should make the behavior match on all major browsers.
MouseEvent.layerX
Thanks for the fast review!
To fix #15 for Safari and Firefox.
MouseEvent.layerX
is not standard (https://github.com/w3c/uievents/issues/135 tracks standardizing it), but meanwhile this should make the behavior match on all major browsers.