You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mouse wheel scroll Up/Down seems to be asymmetrical with Up being ~x2 more powerful than Down when Smooth scrolling is enabled.
Played around with the Vsync option, and at 1:1 of 165FPS the up scroll is significantly stronger, while at 1:10 of ~16FPS the difference between scrolls is still there but becomes negligible.
The text was updated successfully, but these errors were encountered:
seems like floating point error, probably in imgui or pyimgui bindings... even if you disable scrooth scrolling and set scroll multiplier to a float-unfriendly value like 0.99 or 0.33 and spam scroll up and down, it slowly but surely drifts upwards. smooth scrolling just amplifies this since its even more unfriendly values for floats
in python land floats seem fine, i tried replacing delta time with 0.016 i nthe smooth scrolling code for consistency and printing the resulting values of imgui.io.mouse_wheel, values are equal for up and down when printed by python. maybe its a situation of "python uses double but imgui uses float"
https://f95zone.to/threads/f95checker-willyjl.44173/post-13157234
The text was updated successfully, but these errors were encountered: