From 134a8c5d2a2d28d68c75b121488c0089af96fdec Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Fri, 16 Aug 2019 19:31:33 +0200 Subject: [PATCH] Fix positioning. --- server/TracyView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index f10abcce..fe4f4ada 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -4003,7 +4003,7 @@ int View::DrawCpuData( int offset, double pxns, const ImVec2& wpos, bool hover, else { ImGui::PushClipRect( wpos + ImVec2( px0, offset ), wpos + ImVec2( px1, offset + tsz.y * 2 ), true ); - DrawTextContrast( draw, wpos + ImVec2( ( start - m_zvStart ) * pxns, offset ), local ? 0xFFFFFFFF : 0xAAFFFFFF, txt ); + DrawTextContrast( draw, wpos + ImVec2( ( start - m_zvStart ) * pxns, offset-1 ), local ? 0xFFFFFFFF : 0xAAFFFFFF, txt ); ImGui::PopClipRect(); }