incorrect movedX
and movedY
behavior on zoomed sketches in Chrome
#7790
Labels
movedX
and movedY
behavior on zoomed sketches in Chrome
#7790
Most appropriate sub-area of p5.js?
p5.js version
1.11.5
Web browser and version
Chrome 135.0.7049.115 (Official Build) (64-bit) (cohort: Stable)
Operating system
Windows 10
Steps to reproduce this
Additional context
According to MDN:
Related W3C issue: w3c/pointerlock#42
Suggestion
movedX
andmovedY
should be updated internally to calculate based onmouseX - pmouseX
andmouseY - pmouseY
, rather than relying onmovementX
andmovementY
.The text was updated successfully, but these errors were encountered: