Fix offset of source code separator line.

This commit is contained in:
Bartosz Taudul 2022-10-09 13:45:20 +02:00
parent 17d3ac0141
commit a87cbacbc1
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -2015,7 +2015,7 @@ void SourceView::RenderSymbolSourceView( const AddrStatData& as, Worker& worker,
const auto maxAsm = strlen( tmp ) + 1; const auto maxAsm = strlen( tmp ) + 1;
lx += ts * maxAsm + ty; lx += ts * maxAsm + ty;
} }
if( m_hwSamples && worker.GetHwSampleCountAddress() != 0 ) lx += 17 * ts + ty; if( m_hwSamples && worker.GetHwSampleCountAddress() != 0 ) lx += 15 * ts + ty;
DrawLine( draw, dpos + ImVec2( lx, 0 ), dpos + ImVec2( lx, wh ), 0x08FFFFFF ); DrawLine( draw, dpos + ImVec2( lx, 0 ), dpos + ImVec2( lx, wh ), 0x08FFFFFF );
const AddrStatData zero; const AddrStatData zero;