Skip to content
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

fix: correctly update proximities on mouse enter and record position #772

Merged
merged 1 commit into from
Nov 5, 2023

Conversation

christoph-heinrich
Copy link
Contributor

@christoph-heinrich christoph-heinrich commented Nov 4, 2023

Element:update_proximity() checks for cursor.hidden, which is why we have to update that before updating the proximities.

Also it doesn't make sense to not record the first cursor position on enter.

Element:update_proximity() checks for cursor.hidden, which is why we have
to update that before updating the proximities.

Also it doesn't make sense to not record the first cursor position on
enter.
@tomasklaen tomasklaen merged commit 26d71a8 into tomasklaen:main Nov 5, 2023
@christoph-heinrich christoph-heinrich deleted the fix_mouse_enter branch November 5, 2023 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants