mirror of
https://github.com/ocornut/imgui.git
synced 2026-09-27 00:13:29 +03:00
Avoid focusing default window
This commit is contained in:
parent
eaa32bb787
commit
056f68290b
1 changed files with 1 additions and 1 deletions
|
|
@ -5703,7 +5703,7 @@ void ImGui::NewFrame()
|
|||
// This fallback is particularly important as it prevents ImGui:: calls from crashing.
|
||||
g.WithinFrameScopeWithImplicitWindow = true;
|
||||
SetNextWindowSize(ImVec2(400, 400), ImGuiCond_FirstUseEver);
|
||||
Begin("Debug##Default");
|
||||
Begin("Debug##Default", NULL, ImGuiWindowFlags_NoFocusOnAppearing);
|
||||
IM_ASSERT(g.CurrentWindow->IsFallbackWindow == true);
|
||||
|
||||
// Store stack sizes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue