mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-26 14:43:13 +02:00
ColorEdit, ColorPicker: Fixed broken build due to commiting an undesirable change in 78a8f798c5
(#346)
This commit is contained in:
@ -9220,7 +9220,6 @@ bool ImGui::ColorEdit4(const char* label, float col[4], ImGuiColorEditFlags flag
|
|||||||
{
|
{
|
||||||
if (!(flags & ImGuiColorEditFlags_NoPicker))
|
if (!(flags & ImGuiColorEditFlags_NoPicker))
|
||||||
{
|
{
|
||||||
g.ColorPickerRef = ImVec4(col[0], col[1], col[2], alpha ? col[3] : 1.0f);
|
|
||||||
OpenPopup("picker");
|
OpenPopup("picker");
|
||||||
SetNextWindowPos(window->DC.LastItemRect.GetBL() + ImVec2(-1,style.ItemSpacing.y));
|
SetNextWindowPos(window->DC.LastItemRect.GetBL() + ImVec2(-1,style.ItemSpacing.y));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user