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

Add a way to abort a button press #20

Open
GwnDaan opened this issue Jan 20, 2024 · 0 comments
Open

Add a way to abort a button press #20

GwnDaan opened this issue Jan 20, 2024 · 0 comments

Comments

@GwnDaan
Copy link
Member

GwnDaan commented Jan 20, 2024

Naturally if I accidentally pressed a button, I'd try to abort the press with sliding my finger of the button and then releasing. It would be nice if we can implement such a behavior. Right now we always send an ButtonUnlatchedOrReleased if there is a button at the "mouse down" coordinates. Instead we should try to send a ButtonPressAborted when the "mouse up" coordinates is outside of the button initially pressed.

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

No branches or pull requests

1 participant