mirror of
https://github.com/google/blockly.git
synced 2026-01-08 17:40:09 +01:00
The e.pageX (and .pageY) checks aren't strict enough. 0 is a perfectly valid coordinate. Checking for the existence of changedTouches is an easier way to distinguish a PointerEvent from a TouchEvent.
9.5 KiB
9.5 KiB