mirror of
https://github.com/wolfpld/tracy
synced 2025-04-30 04:43:53 +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();
|
ImGui::Separator();
|
||||||
TextDisabledUnformatted( "Wait stack:" );
|
TextDisabledUnformatted( "Wait stack:" );
|
||||||
CallstackTooltipContents( sdit->callstack.Val() );
|
CallstackTooltipContents( sdit->callstack.Val() );
|
||||||
|
if( ImGui::IsMouseClicked( 0 ) )
|
||||||
|
{
|
||||||
|
m_callstackInfoWindow = sdit->callstack.Val();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ImGui::EndTooltip();
|
ImGui::EndTooltip();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user