mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-11 00:04:24 +00:00
BeginChild: named child don't include the full id inside their name (#1698)
This commit is contained in:
parent
78610a54d2
commit
84fbc49403
1 changed files with 1 additions and 1 deletions
|
|
@ -5097,7 +5097,7 @@ static bool BeginChildEx(const char* name, ImGuiID id, const ImVec2& size_arg, b
|
|||
|
||||
char title[256];
|
||||
if (name)
|
||||
ImFormatString(title, IM_ARRAYSIZE(title), "%s/%s_%08X", parent_window->Name, name, id);
|
||||
ImFormatString(title, IM_ARRAYSIZE(title), "%s/%s", parent_window->Name, name);
|
||||
else
|
||||
ImFormatString(title, IM_ARRAYSIZE(title), "%s/%08X", parent_window->Name, id);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue