mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Focusing timeline on crash from trace info window.
This commit is contained in:
parent
7792963e31
commit
df3e8597c4
@ -8551,8 +8551,17 @@ void View::DrawInfo()
|
||||
TextDisabledUnformatted( "Reason:" );
|
||||
ImGui::SameLine();
|
||||
ImGui::TextWrapped( "%s", m_worker.GetString( crash.message ) );
|
||||
#ifdef TRACY_EXTENDED_FONT
|
||||
if( ImGui::Button( ICON_FA_MICROSCOPE " Focus" ) )
|
||||
#else
|
||||
if( ImGui::Button( "Focus" ) )
|
||||
#endif
|
||||
{
|
||||
CenterAtTime( crash.time );
|
||||
}
|
||||
if( crash.callstack != 0 )
|
||||
{
|
||||
ImGui::SameLine();
|
||||
bool hilite = m_callstackInfoWindow == crash.callstack;
|
||||
if( hilite )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user