Don't highlight asm lines out of context on hover.

This commit is contained in:
Bartosz Taudul 2021-11-13 16:36:46 +01:00
parent 25316ddada
commit 50627646c1
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -4188,7 +4188,7 @@ void SourceView::SelectAsmLinesHover( uint32_t file, uint32_t line, const Worker
{
if( v >= m_baseAddr && v < m_baseAddr + m_codeLen )
{
m_selectedAddressesHover.emplace( v );
if( IsInContext( worker, v ) ) m_selectedAddressesHover.emplace( v );
}
}
}