mirror of
https://github.com/ocornut/imgui.git
synced 2025-04-14 17:13:46 +00:00
Collapsing header also honor FrameRounding
This commit is contained in:
parent
62ecdd21a5
commit
2d7a2310fd
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue