From c62732804a027c016fe07f46c216d90e45bc3cc1 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 17 Nov 2019 14:30:10 +0100 Subject: [PATCH] Round CPU data font height. --- server/TracyView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index b9859cad..f66cc4af 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -4569,7 +4569,7 @@ int View::DrawCpuData( int offset, double pxns, const ImVec2& wpos, bool hover, } ImGui::PushFont( m_smallFont ); - const auto sty = ImGui::GetFontSize(); + const auto sty = round( ImGui::GetFontSize() ); const auto sstep = sty + 1; const auto origOffset = offset;