mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-05 20:48:46 +02: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