Fix positioning.

This commit is contained in:
Bartosz Taudul 2019-08-16 19:31:33 +02:00
parent edd5338faa
commit 134a8c5d2a

View File

@ -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();
}