pmndrs / three-stdlib

📚 Stand-alone library of threejs examples designed to run without transpilation in node & browser
https://npmjs.com/three-stdlib
MIT License
733 stars 119 forks source link

chore(PointerLockControls): Remove browser prefixes for "MouseEvent.movement" props #385

Closed satelllte closed 3 weeks ago

satelllte commented 4 weeks ago

About

The browser support for these properties is stabilized for years (since 2015).

https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/movementX https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/movementY

Checklist

codesandbox-ci[bot] commented 4 weeks ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

satelllte commented 4 weeks ago

Same change for the original Three.js implementation of PointerLockControls: https://github.com/mrdoob/three.js/pull/29802