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
fixes the issue for me and behaves as I would expect, however I don't know whether it may introduce any other bugs (presumably anyone who would be affected with their current code has already made a mistake of adding the flag without the expected behaviour).
Another very minor point, the variable name is_decimal should probably be replaced by something else, perhaps is_continuum, or is_real, or is_floating_point (Sorry for being pedantic, it mislead me when meeting it further down the code and I would be letting myself down as a mathematics lecturer if I didn't mention it.)
As always, thank you for the awesome work!
The text was updated successfully, but these errors were encountered:
Hello James,
Thanks for reporting this.
You are right there's nothing preventing us from supporting the Logarithmic flag there. I enabled it.
I also pushed the rename you suggested.
Version: 1.81 WIP
Branch: master
Back-ends: imgui_impl_glfw.cpp + imgui_impl_opengl3.cpp
Operating System: Win10
My Issue/Question:
Code such as
produces a slider that does not behave logarithmically. However one can get the desired behaviour using
Changing line 6 of SliderBehaviorT to:
fixes the issue for me and behaves as I would expect, however I don't know whether it may introduce any other bugs (presumably anyone who would be affected with their current code has already made a mistake of adding the flag without the expected behaviour).
Another very minor point, the variable name is_decimal should probably be replaced by something else, perhaps is_continuum, or is_real, or is_floating_point (Sorry for being pedantic, it mislead me when meeting it further down the code and I would be letting myself down as a mathematics lecturer if I didn't mention it.)
As always, thank you for the awesome work!
The text was updated successfully, but these errors were encountered: