Skip to content

Commit 536126f

Browse files
committed
emscripten: Move over to using Pointer Events for all mouse, pen, and touch.
This allows us to avoid browser mouse emulation for touches, since we provide our own anyhow. The other option is to "prevent default" in the legacy touch event handlers we historically used, to tell the browser not to supply emulation, but we can't currently tell Emscripten to mark those handlers as not "passive," so as it stands they are unable to prevent default. Using Pointer Events bypasses this problem entirely. Fixes #13161.
1 parent 0f061ff commit 536126f

File tree

1 file changed

+329
-264
lines changed

1 file changed

+329
-264
lines changed

0 commit comments

Comments
 (0)