mirror of
https://github.com/Drezil/imgui.git
synced 2024-12-18 06:06:35 +00:00
Demo: fixed a misuse of EndChildFrame(). (#6496)
This commit is contained in:
parent
956a1a17fb
commit
666b93e989
@ -8002,8 +8002,8 @@ void ShowExampleAppDocuments(bool* p_open)
|
||||
for (int n = 0; n < close_queue.Size; n++)
|
||||
if (close_queue[n]->Dirty)
|
||||
ImGui::Text("%s", close_queue[n]->Name);
|
||||
ImGui::EndChildFrame();
|
||||
}
|
||||
ImGui::EndChildFrame();
|
||||
|
||||
ImVec2 button_size(ImGui::GetFontSize() * 7.0f, 0.0f);
|
||||
if (ImGui::Button("Yes", button_size))
|
||||
|
Loading…
Reference in New Issue
Block a user