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:
parent
4b167fa3df
commit
6257ec6b7f
@ -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();
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user