mirror of
https://github.com/Drezil/imgui.git
synced 2024-11-15 01:17:00 +00:00
Implicit "Debug" window uses a "Debug##Default" identifier to allow the user creating such window with custom flags
This commit is contained in:
parent
65632d2682
commit
54d30d758f
@ -2355,8 +2355,9 @@ void ImGui::NewFrame()
|
|||||||
CloseInactivePopups();
|
CloseInactivePopups();
|
||||||
|
|
||||||
// Create implicit window - we will only render it if the user has added something to it.
|
// Create implicit window - we will only render it if the user has added something to it.
|
||||||
|
// We don't use "Debug" to avoid colliding with user trying to create a "Debug" window with custom flags.
|
||||||
ImGui::SetNextWindowSize(ImVec2(400,400), ImGuiCond_FirstUseEver);
|
ImGui::SetNextWindowSize(ImVec2(400,400), ImGuiCond_FirstUseEver);
|
||||||
ImGui::Begin("Debug");
|
ImGui::Begin("Debug##Default");
|
||||||
}
|
}
|
||||||
|
|
||||||
void ImGui::Initialize()
|
void ImGui::Initialize()
|
||||||
|
Loading…
Reference in New Issue
Block a user