From a87cbacbc1a5bdc5d2f35ed4683cc627c14a1e7e Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 9 Oct 2022 13:45:20 +0200 Subject: [PATCH] Fix offset of source code separator line. --- server/TracySourceView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracySourceView.cpp b/server/TracySourceView.cpp index bae40e25..6d8020be 100644 --- a/server/TracySourceView.cpp +++ b/server/TracySourceView.cpp @@ -2015,7 +2015,7 @@ void SourceView::RenderSymbolSourceView( const AddrStatData& as, Worker& worker, const auto maxAsm = strlen( tmp ) + 1; 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 ); const AddrStatData zero;