mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Improve source file tooltip.
This commit is contained in:
parent
03c3a3e7c7
commit
23de7cb294
@ -2401,7 +2401,8 @@ void SourceView::RenderAsmLine( AsmLine& line, uint32_t ipcnt, uint32_t iptotal,
|
||||
lineHovered = true;
|
||||
if( m_font ) ImGui::PopFont();
|
||||
ImGui::BeginTooltip();
|
||||
ImGui::Text( "%s:%i", fileName, srcline );
|
||||
TextFocused( "File:", fileName );
|
||||
TextFocused( "Line:", RealToString( srcline ) );
|
||||
ImGui::EndTooltip();
|
||||
if( m_font ) ImGui::PushFont( m_font );
|
||||
if( ImGui::IsItemClicked( 0 ) || ImGui::IsItemClicked( 1 ) )
|
||||
|
Loading…
Reference in New Issue
Block a user