Conversation
|
I have independently discovered #520 and have independently come up with a simmilar fix, mine was just to remove
Warning Browsers use different units for movementX and screenX than what the specification defines. Depending on the browser and operating system, the movementX units may be a physical pixel, a logical pixel, or a CSS pixel. You may want to avoid the movement properties, and instead calculate the delta between the current client values (screenX, screenY) and the previous client values. If the values are to be kept from future updates, maybe we want to do the following (from the same MDN page):
If you really want to read them from the browser, casting to |
This fixes #520 . I am not sure if this is the most reliable solution as I am not sure of the source of the problem in the first place. The update speed of the cursor is back to it's original speed and there are no more warnings in the console.