mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-12 00:14:20 +00:00
Collapse triangle uses text color (not border color)
This commit is contained in:
parent
1f272785f1
commit
6db6c0c8c0
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue