Open callstack windows when clicking on context switch.

This commit is contained in:
Bartosz Taudul 2021-11-13 01:34:49 +01:00
parent 4b74777fcf
commit 06c1bb4e59
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

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