mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-14 00:34:18 +00:00
Version 1.77
+ fix minor clang-tidy warnings which seems reasonable
This commit is contained in:
parent
122febcdbf
commit
9418dcb693
9 changed files with 34 additions and 30 deletions
|
|
@ -1,4 +1,4 @@
|
|||
// dear imgui, v1.77 WIP
|
||||
// dear imgui, v1.77
|
||||
// (widgets code)
|
||||
|
||||
/*
|
||||
|
|
@ -5634,7 +5634,7 @@ bool ImGui::CollapsingHeader(const char* label, bool* p_open, ImGuiTreeNodeFlags
|
|||
if (p_open)
|
||||
flags |= ImGuiTreeNodeFlags_AllowItemOverlap | ImGuiTreeNodeFlags_ClipLabelForTrailingButton;
|
||||
bool is_open = TreeNodeBehavior(id, flags, label);
|
||||
if (p_open)
|
||||
if (p_open != NULL)
|
||||
{
|
||||
// Create a small overlapping close button
|
||||
// FIXME: We can evolve this into user accessible helpers to add extra buttons on title bars, headers, etc.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue