mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-14 04:01:48 +00:00
Fix offset of source code separator line.
This commit is contained in:
parent
17d3ac0141
commit
a87cbacbc1
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user