mirror of
https://github.com/ocornut/imgui.git
synced 2024-11-13 18:50:58 +01:00
Demo: Tweak irritating pink color.
This commit is contained in:
parent
8d5b2fba95
commit
a2a5d71582
@ -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"))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user