-
-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
Color Picker widget does not provide a perfect color #3517
Labels
Comments
rokups
added a commit
to rokups/imgui
that referenced
this issue
Apr 12, 2021
rokups
added a commit
to rokups/imgui
that referenced
this issue
Apr 12, 2021
…cornut#3517) Old code attempted to mitigate hue/saturation resetting for colors where these components are undefined. Since we now explicitly back up and restore these components this workaround is no longer necessary.
rokups
added a commit
to rokups/imgui
that referenced
this issue
Apr 12, 2021
…cornut#3517) Old code attempted to mitigate hue/saturation resetting for colors where these components are undefined. Since we now explicitly back up and restore these components this workaround is no longer necessary.
rokups
added a commit
to rokups/imgui
that referenced
this issue
Sep 21, 2021
…cornut#3517) Old code attempted to mitigate hue/saturation resetting for colors where these components are undefined. Since we now explicitly back up and restore these components this workaround is no longer necessary.
ocornut
pushed a commit
that referenced
this issue
Sep 21, 2021
…lor by dragging toward the edges of the SV square. (#3517) Old code attempted to mitigate hue/saturation resetting for colors where these components are undefined. Since we now explicitly back up and restore these components this workaround is no longer necessary.
This should now be fixed by 15fe7ba, thanks for reporting! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version/Branch of Dear ImGui:
Version: 1.77 WIP (17601)
Branch: docking
Back-end/Renderer/Compiler/OS
Back-ends: imgui_impl_opengl3.cpp + imgui_impl_sdl.cpp
Compiler: VS 2019
Operating System: Windows 10
My Issue/Question:
Choosing a color (e.g. white) dragging the circle on the ColorPicker widget, the red float value is correct (1.0f) but the green and blue variables have a value of almost 1, but not exactly (0.999989986f).
Screenshots/Video
Thanks in advance!
The text was updated successfully, but these errors were encountered: