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 events for the scroll wheel in Linux. #2365

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SaVe-27
Copy link

@SaVe-27 SaVe-27 commented Apr 9, 2024

My project uses several widgets, however I notice that the scroll wheel does not work on Linux.

In these two files, I add the events to buttons 4 and 5 (along with MouseWheel for Windows and MacOS) and assign a value for each interaction with button 4 (or 5).

Warning

I warn everyone about adding more events with other buttons (1, 2 and 3): in this case, these events maybe affect the user experience with the scroll wheel on Linux, because they interact with the conditional in self._parent_canvas.(x|y )view.

Thank you.

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

1 participant