mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-30 09:14:36 +00:00
Don't highlight asm lines out of context on hover.
This commit is contained in:
parent
25316ddada
commit
50627646c1
@ -4188,7 +4188,7 @@ void SourceView::SelectAsmLinesHover( uint32_t file, uint32_t line, const Worker
|
|||||||
{
|
{
|
||||||
if( v >= m_baseAddr && v < m_baseAddr + m_codeLen )
|
if( v >= m_baseAddr && v < m_baseAddr + m_codeLen )
|
||||||
{
|
{
|
||||||
m_selectedAddressesHover.emplace( v );
|
if( IsInContext( worker, v ) ) m_selectedAddressesHover.emplace( v );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user