Skip to content

Conversation

KinoxKlark
Copy link
Member

As highlighted in #190, mouse scroll_callback() of glfw and glumpy was not doing anything with x_offset. Fixed it to interact with the horizontal scrolling.

My mouse does not allow horizontal scrolling, I tested it by swapping x/y direction, and it seems to work fine. I don't see why it would be any different giving a real x_offset instead, but let me know if there are any problems.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.05%) to 55.821% when pulling 1129d5f on KinoxKlark:fix/mouse_scroll_callback into 1a1ba53 on swistakm:master.

@zhihaoy
Copy link

zhihaoy commented Jan 9, 2021

Confirmed to work. LGTM.

@swistakm swistakm merged commit e861a5d into pyimgui:master Feb 16, 2021
@swistakm swistakm added the release pending Merged but still needs official release label Feb 16, 2021
@swistakm
Copy link
Member

Thanks!

@KinoxKlark KinoxKlark deleted the fix/mouse_scroll_callback branch March 23, 2021 17:49
@KinoxKlark KinoxKlark removed the release pending Merged but still needs official release label Oct 31, 2021
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.

4 participants