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 back button mouse left click #916

Merged
merged 2 commits into from
Aug 24, 2022
Merged

Conversation

ThomasFrans
Copy link
Contributor

fixes #915

@hrkfdn
Copy link
Owner

hrkfdn commented Aug 24, 2022

Nice catch, thanks. I'm guessing this is because it's triggered twice, on mouse press and release. button() will return a result in both scenarios: https://docs.rs/cursive_core/0.3.4/src/cursive_core/event.rs.html#459

@hrkfdn hrkfdn merged commit b8b565d into hrkfdn:main Aug 24, 2022
@ThomasFrans ThomasFrans deleted the back-button-fix branch September 12, 2022 15:54
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.

[Mouse Support] Mouse press on back button doesn't go back one layer
2 participants