mirror of
https://github.com/wolfpld/tracy.git
synced 2024-12-02 09:44:35 +00:00
Display image name in callstack tooltips.
This commit is contained in:
parent
1200409a44
commit
4b74777fcf
@ -17853,6 +17853,14 @@ void View::CallstackTooltipContents( uint32_t idx )
|
|||||||
{
|
{
|
||||||
ImGui::TextUnformatted( txt );
|
ImGui::TextUnformatted( txt );
|
||||||
}
|
}
|
||||||
|
if( frameData->imageName.Active() )
|
||||||
|
{
|
||||||
|
ImGui::SameLine();
|
||||||
|
if( m_smallFont ) ImGui::PushFont( m_smallFont );
|
||||||
|
ImGui::AlignTextToFramePadding();
|
||||||
|
TextDisabledUnformatted( m_worker.GetString( frameData->imageName ) );
|
||||||
|
if( m_smallFont ) ImGui::PopFont();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user