Demo: Tweak irritating pink color.

This commit is contained in:
ocornut 2016-05-12 23:13:54 +02:00
parent 8d5b2fba95
commit a2a5d71582

View File

@ -1218,7 +1218,7 @@ void ImGui::ShowTestWindow(bool* p_open)
ImGui::EndPopup(); ImGui::EndPopup();
} }
static ImVec4 color = ImColor(1.0f, 0.0f, 1.0f, 1.0f); static ImVec4 color = ImColor(0.8f, 0.5f, 1.0f, 1.0f);
ImGui::ColorButton(color); ImGui::ColorButton(color);
if (ImGui::BeginPopupContextItem("color context menu")) if (ImGui::BeginPopupContextItem("color context menu"))
{ {