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

Enable mouse scrolling in TabViews #363

Merged
merged 2 commits into from Jan 5, 2021
Merged

Conversation

algon-320
Copy link
Contributor

Before this patch, we couldn't scroll ListViews contained by TabView with mouse.
This is because the default implementation of cursive::traits::View::on_event ignores any event.
This PR fixes the problem by forwarding events properly.

@hrkfdn hrkfdn merged commit cb72870 into hrkfdn:master Jan 5, 2021
@hrkfdn
Copy link
Owner

hrkfdn commented Jan 5, 2021

Merged, thanks a lot!

@algon-320 algon-320 deleted the forward-events branch January 5, 2021 18:14
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.

None yet

2 participants