-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
blank-canvas/static/index.html
Line 168 in 39915c1
| function Trigger(e) { |
Following https://stackoverflow.com/questions/4780837 , I can get touchstart and touchmove events with coordinates and touchend without coordinates provided I add the following to Trigger().
if ((e.type == "touchmove" || e.type == "touchstart") && e.originalEvent.touches[0].pageX != undefined && e.originalEvent.touches[0].pageY != undefined) {
o.pageXY = [e.originalEvent.touches[0].pageX, e.originalEvent.touches[0].pageY]
}I am not sure why I lose the mousemove events if I leave out the (e.type == "touchmove" || e.type == "touchstart")
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels