From 19f87502d3c9a9cdf86e8a2dae4d0eb998251500 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 14 Nov 2021 02:17:02 +0100 Subject: [PATCH] Keep wait stacks header on top. --- server/TracyView.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index b8508eeb..84465205 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -16498,6 +16498,7 @@ void View::DrawWaitStacks() if( threadsChanged ) m_waitStack = 0; ImGui::Separator(); + ImGui::BeginChild( "##waitstacks" ); if( stacks.empty() ) { ImGui::TextUnformatted( "No wait stacks to display." ); @@ -16582,6 +16583,7 @@ void View::DrawWaitStacks() } } #endif + ImGui::EndChild(); ImGui::End(); }