mirror of
https://github.com/ocornut/imgui.git
synced 2025-09-07 11:58:22 +00:00
Stack Tool: Docs (#4631) + also prevent Metrics window from displaying twice.
This commit is contained in:
@@ -11205,7 +11205,7 @@ void ImGui::ShowMetricsWindow(bool* p_open)
|
||||
if (cfg->ShowStackTool)
|
||||
ShowStackToolWindow(&cfg->ShowStackTool);
|
||||
|
||||
if (!Begin("Dear ImGui Metrics/Debugger", p_open))
|
||||
if (!Begin("Dear ImGui Metrics/Debugger", p_open) || GetCurrentWindow()->BeginCount > 1)
|
||||
{
|
||||
End();
|
||||
return;
|
||||
|
Reference in New Issue
Block a user