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

ColorEdit4 Popup Displaying and inputing HSV instead of RGB #2587

Closed
DerGaijin opened this issue May 27, 2019 · 2 comments
Closed

ColorEdit4 Popup Displaying and inputing HSV instead of RGB #2587

DerGaijin opened this issue May 27, 2019 · 2 comments

Comments

@DerGaijin
Copy link

Version: 1.71 WIP
Branch: master
Back-ends: imgui_impl_Glfw.cpp + imgui_impl_Vulkan.cpp
Operating System: Windows 10

The Colorpicker Popup is displaying and inputing HSV instead of RGB
or did i miss some flags for that ?

ImGui::Begin("Example Bug");
glm::vec4 TempColor(1.0f);
ImGui::ColorEdit4("##IMAGECOLORPICK", &TempColor.r, ImGuiColorEditFlags_DisplayRGB | ImGuiColorEditFlags_InputRGB);
ImGui::End();

That also happens in the Demo window with the coloredits

@DerGaijin DerGaijin changed the title ColorEdit4 Pickup Displaying and inputing HSV instead of RGB ColorEdit4 Popup Displaying and inputing HSV instead of RGB May 27, 2019
@ocornut ocornut added the bug label May 27, 2019
@ocornut
Copy link
Owner

ocornut commented May 27, 2019

This is a bug that has been introduced by 79bb4ce (#2383, #2384), will look into fixing.

ocornut added a commit that referenced this issue May 27, 2019
… instead of showing multiple options. (#2587, broken in 1.69 by #2384).
@ocornut
Copy link
Owner

ocornut commented May 27, 2019

Pushed fix now, thanks for finding and reporting this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants