mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Ditto for source navigation.
This commit is contained in:
parent
072fed288a
commit
497e73182a
@ -995,11 +995,11 @@ void SourceView::RenderAsmLine( const AsmLine& line, uint32_t ipcnt, uint32_t ip
|
||||
ImGui::Text( "%s:%i", fileName, srcline );
|
||||
ImGui::EndTooltip();
|
||||
if( m_font ) ImGui::PushFont( m_font );
|
||||
if( ImGui::IsItemClicked() )
|
||||
if( ImGui::IsItemClicked( 0 ) || ImGui::IsItemClicked( 1 ) )
|
||||
{
|
||||
if( m_file == fileName )
|
||||
{
|
||||
m_targetLine = srcline;
|
||||
if( ImGui::IsMouseClicked( 1 ) ) m_targetLine = srcline;
|
||||
SelectLine( srcline, &worker, false );
|
||||
m_displayMode = DisplayMixed;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user