From 2d7a2310fdfa9559f8d958d54396f8cae82d5df7 Mon Sep 17 00:00:00 2001 From: ocornut Date: Thu, 15 Jan 2015 10:29:51 +0000 Subject: [PATCH] Collapsing header also honor FrameRounding --- imgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui.cpp b/imgui.cpp index 7d4944f6..61ad4d8a 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -3693,7 +3693,7 @@ bool ImGui::CollapsingHeader(const char* label, const char* str_id, const bool d if (display_frame) { // Framed type - RenderFrame(bb.Min, bb.Max, col, true); + RenderFrame(bb.Min, bb.Max, col, true, style.FrameRounding); RenderCollapseTriangle(bb.Min + style.FramePadding, opened, 1.0f, true); if (g.LogEnabled) {