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

Config: Fix expression window scroll wheel spam #9490

Merged

Conversation

Dentomologist
Copy link
Contributor

Fixes the expression window being spammed with the first entry in the
Operators or Functions select menus when scrolling the mouse wheel while
hovering over them.

Fixes https://bugs.dolphin-emu.org/issues/12405

Fixes the expression window being spammed with the first entry in the
Operators or Functions select menus when scrolling the mouse wheel while
hovering over them.

Fixes https://bugs.dolphin-emu.org/issues/12405
@Dentomologist Dentomologist force-pushed the fix_expression_scroll_wheel_spam branch from f045e80 to 43b3894 Compare February 9, 2021 16:57
@Dentomologist
Copy link
Contributor Author

I just added a small change to pass a parent pointer to m_functions_combo to match prior behavior.

Speaking of which, this is out of scope for this PR but IOWindow seems very inconsistent about which children get passed parent pointers and which don't. Is there a reason I'm missing for the current pattern or is that something that should be fixed at some point?

Copy link
Member

@leoetlino leoetlino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apparently this is really the only way to disable this behavior... setWheelPolicy isn't as useful as you'd expect...

Yes, I don't think there's any reason for passing this inconsistently.

@leoetlino leoetlino merged commit bf758fb into dolphin-emu:master Feb 11, 2021
9 checks passed
@Dentomologist Dentomologist deleted the fix_expression_scroll_wheel_spam branch February 11, 2021 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants