From 6db6c0c8c0f66b96f92fca77d44dc97cfd3e00da Mon Sep 17 00:00:00 2001 From: ocornut Date: Sat, 7 Mar 2015 00:35:47 +0000 Subject: [PATCH] Collapse triangle uses text color (not border color) --- imgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui.cpp b/imgui.cpp index 2c213d2d1..ca785a3ed 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -2255,7 +2255,7 @@ static void RenderCollapseTriangle(ImVec2 p_min, bool opened, float scale, bool if (shadow && (window->Flags & ImGuiWindowFlags_ShowBorders) != 0) window->DrawList->AddTriangleFilled(a+ImVec2(2,2), b+ImVec2(2,2), c+ImVec2(2,2), window->Color(ImGuiCol_BorderShadow)); - window->DrawList->AddTriangleFilled(a, b, c, window->Color(ImGuiCol_Border)); + window->DrawList->AddTriangleFilled(a, b, c, window->Color(ImGuiCol_Text)); } // Calculate text size. Text can be multi-line. Optionally ignore text after a ## marker.