We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6a6bca commit 4c24f73Copy full SHA for 4c24f73
src/events/mouse.js
@@ -826,7 +826,7 @@ p5.prototype._updateNextMouseCoords = function(e) {
826
// "The pointerLockElement ... is null if lock is pending, pointer is unlocked,
827
// or the target is in another document."
828
// In this case, we use mouseX/Y and pmouseX/Y to calculate the distance,
829
- // which allows movedX/Y to look consistent at different zoom levels acorss
+ // which allows movedX/Y to look consistent at different zoom levels across
830
// browsers.
831
const deltaX = this.mouseX - this.pmouseX;
832
const deltaY = this.mouseY - this.pmouseY;
0 commit comments