1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Make the callstack parents trees scrollable.

This commit is contained in:
Bartosz Taudul 2021-12-31 15:08:46 +01:00
parent 4b167fa3df
commit 6257ec6b7f
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -16235,6 +16235,7 @@ void View::DrawSampleParents()
ImGui::Checkbox( ICON_FA_STOPWATCH " Show time", &m_statSampleTime ); ImGui::Checkbox( ICON_FA_STOPWATCH " Show time", &m_statSampleTime );
ImGui::PopStyleVar(); ImGui::PopStyleVar();
ImGui::Separator(); ImGui::Separator();
ImGui::BeginChild( "##sampleParents" );
switch( m_sampleParents.mode ) switch( m_sampleParents.mode )
{ {
case 0: case 0:
@ -16502,6 +16503,7 @@ void View::DrawSampleParents()
assert( false ); assert( false );
break; break;
} }
ImGui::EndChild();
} }
ImGui::End(); ImGui::End();