Display image name in callstack tooltips.

This commit is contained in:
Bartosz Taudul 2021-11-13 01:31:28 +01:00
parent 1200409a44
commit 4b74777fcf
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

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