-
Notifications
You must be signed in to change notification settings - Fork 16
Unclear if pointermove
should set movementX/Y
#100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for the catch, I believe this is unintentional because the text predates cross-browser support for FYI: in Chrome we set
as
which leaves PointerEvents unspecified here. So we extended the |
Thanks! Should I open a PR doing that exact change? |
This sounds better. |
Well, the spec says that the properties are 0 by default, and nothing says they should be something else on pointermove, so ... ;) |
According to the spec:
pointerlock/index.html
Lines 629 to 630 in 0e99fcf
Which seems to imply that
movementX/Y
should be zero forpointermove
. Is this intentional?See https://bugzilla.mozilla.org/show_bug.cgi?id=1753724, where this has come up.
The text was updated successfully, but these errors were encountered: