-
Notifications
You must be signed in to change notification settings - Fork 147
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
Confused by deltaX and deltaY #157
Comments
@r-inaldi Thank you for posting the issue, you've absolutely found a discrepancy. The readme should say I think you're absolutely correct and we should be doing Going to make a note to make this change for |
@r-inaldi a side note, i'll try to merge in #151 soon which adds |
Thanks for the fix @hartzis. Wasn't sure if I was getting something wrong, started to really doubt my knowledge about page coordinates. 😂 |
I believe this should be closed? |
Documentation:
Codebase:
My question here is, are
clientX
andclientY
the current x and y coordinates of the mouse?The docs says current.x minus initial.x, I was expecting that a mouse movement from left to right returns a positive value, but it's the opposite.
Am I getting something wrong here?
The text was updated successfully, but these errors were encountered: