From 6257ec6b7f1696a7898dd62ba8d86fcf9c8d454a Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Fri, 31 Dec 2021 15:08:46 +0100 Subject: [PATCH] Make the callstack parents trees scrollable. --- server/TracyView.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index d2003962..754a9383 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -16235,6 +16235,7 @@ void View::DrawSampleParents() ImGui::Checkbox( ICON_FA_STOPWATCH " Show time", &m_statSampleTime ); ImGui::PopStyleVar(); ImGui::Separator(); + ImGui::BeginChild( "##sampleParents" ); switch( m_sampleParents.mode ) { case 0: @@ -16502,6 +16503,7 @@ void View::DrawSampleParents() assert( false ); break; } + ImGui::EndChild(); } ImGui::End();