mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Open callstack windows when clicking on context switch.
This commit is contained in:
parent
4b74777fcf
commit
06c1bb4e59
@ -3980,6 +3980,10 @@ void View::DrawContextSwitches( const ContextSwitch* ctx, const Vector<SampleDat
|
||||
ImGui::Separator();
|
||||
TextDisabledUnformatted( "Wait stack:" );
|
||||
CallstackTooltipContents( sdit->callstack.Val() );
|
||||
if( ImGui::IsMouseClicked( 0 ) )
|
||||
{
|
||||
m_callstackInfoWindow = sdit->callstack.Val();
|
||||
}
|
||||
}
|
||||
}
|
||||
ImGui::EndTooltip();
|
||||
|
Loading…
Reference in New Issue
Block a user