1
0
mirror of https://github.com/ocornut/imgui.git synced 2024-11-28 09:30:56 +01:00

Collapsing header also honor FrameRounding

This commit is contained in:
ocornut 2015-01-15 10:29:51 +00:00
parent 62ecdd21a5
commit 2d7a2310fd

View File

@ -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)
{