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::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();