mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Display custom zone name in zone tooltip.
This commit is contained in:
parent
09c38f17e6
commit
ab18869ce6
@ -5781,6 +5781,10 @@ void View::ZoneTooltip( const ZoneEvent& ev )
|
||||
const auto end = m_worker.GetZoneEnd( ev );
|
||||
|
||||
ImGui::BeginTooltip();
|
||||
if( ev.name.active )
|
||||
{
|
||||
ImGui::Text( "%s", m_worker.GetString( ev.name ) );
|
||||
}
|
||||
if( srcloc.name.active )
|
||||
{
|
||||
ImGui::Text( "%s", m_worker.GetString( srcloc.name ) );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user