mirror of
https://github.com/wolfpld/tracy.git
synced 2024-12-02 09:44:35 +00:00
Follow jump by clicking on jump arrows.
This commit is contained in:
parent
a715df6338
commit
3177865fc2
@ -771,6 +771,12 @@ uint64_t SourceView::RenderSymbolAsmView( uint32_t iptotal, unordered_flat_map<u
|
|||||||
TextFocused( "Jump sources:", RealToString( v.second.source.size() ) );
|
TextFocused( "Jump sources:", RealToString( v.second.source.size() ) );
|
||||||
ImGui::EndTooltip();
|
ImGui::EndTooltip();
|
||||||
if( m_font ) ImGui::PushFont( m_font );
|
if( m_font ) ImGui::PushFont( m_font );
|
||||||
|
if( ImGui::IsMouseClicked( 0 ) )
|
||||||
|
{
|
||||||
|
m_targetAddr = v.first;
|
||||||
|
m_selectedAddresses.clear();
|
||||||
|
m_selectedAddresses.emplace( v.first );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
draw->AddLine( wpos + ImVec2( xoff + JumpSeparation * ( mjl - v.second.level ), y0 + th2 ), wpos + ImVec2( xoff + JumpSeparation * ( mjl - v.second.level ), y1 + th2 ), col, thickness );
|
draw->AddLine( wpos + ImVec2( xoff + JumpSeparation * ( mjl - v.second.level ), y0 + th2 ), wpos + ImVec2( xoff + JumpSeparation * ( mjl - v.second.level ), y1 + th2 ), col, thickness );
|
||||||
|
Loading…
Reference in New Issue
Block a user