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

Fixes button flashing when releasing mousebutton outside #34781

Merged
merged 1 commit into from
Jan 3, 2020

Conversation

fossegutten
Copy link
Contributor

@fossegutten fossegutten commented Jan 3, 2020

Fixes #33553

Buttons had status.hovering kept as true for two frames, after releasing mouse button outside of the button node. Because it takes a couple of frames for NOTIFICATION_MOUSE_EXIT to get sent after releasing mousebutton outside button.

Edit 3: Sorry, did a couple of edits to improve the commit. Squashed a commit too many. Think i fixed it now! 🤣

@akien-mga akien-mga added this to the 3.2 milestone Jan 3, 2020
@fossegutten fossegutten force-pushed the button-flash branch 3 times, most recently from 7a6793f to 6c6a640 Compare January 3, 2020 13:02
@akien-mga akien-mga merged commit 6f279ed into godotengine:master Jan 3, 2020
@akien-mga
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Button flashing "hover" style after releasing away from it
2 participants