mirror of
https://github.com/ocornut/imgui.git
synced 2025-01-31 12:03:49 +01: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++)
|
for (int n = 0; n < close_queue.Size; n++)
|
||||||
if (close_queue[n]->Dirty)
|
if (close_queue[n]->Dirty)
|
||||||
ImGui::Text("%s", close_queue[n]->Name);
|
ImGui::Text("%s", close_queue[n]->Name);
|
||||||
ImGui::EndChildFrame();
|
|
||||||
}
|
}
|
||||||
|
ImGui::EndChildFrame();
|
||||||
|
|
||||||
ImVec2 button_size(ImGui::GetFontSize() * 7.0f, 0.0f);
|
ImVec2 button_size(ImGui::GetFontSize() * 7.0f, 0.0f);
|
||||||
if (ImGui::Button("Yes", button_size))
|
if (ImGui::Button("Yes", button_size))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user