Round CPU data font height.

This commit is contained in:
Bartosz Taudul 2019-11-17 14:30:10 +01:00
parent 1e29d12819
commit c62732804a

View File

@ -4569,7 +4569,7 @@ int View::DrawCpuData( int offset, double pxns, const ImVec2& wpos, bool hover,
} }
ImGui::PushFont( m_smallFont ); ImGui::PushFont( m_smallFont );
const auto sty = ImGui::GetFontSize(); const auto sty = round( ImGui::GetFontSize() );
const auto sstep = sty + 1; const auto sstep = sty + 1;
const auto origOffset = offset; const auto origOffset = offset;