From baa2328b99e5415f224957312ab1c42607bb8cdc Mon Sep 17 00:00:00 2001 From: ocornut Date: Wed, 15 Jul 2015 12:31:37 -0600 Subject: [PATCH] Tweak to RenderCheckMark() --- imgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui.cpp b/imgui.cpp index a329f5794..32512be96 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -2814,7 +2814,7 @@ static void RenderCheckMark(ImVec2 pos, ImU32 col) a.x = pos.x + 0.5f + start_x; b.x = a.x + rem_third; c.x = a.x + rem_third * 3.0f; - b.y = pos.y + 0.5f + (float)(int)(g.Font->Ascent * (g.FontSize / g.Font->FontSize) + 0.5f) + (float)(int)(g.Font->DisplayOffset.y); + b.y = pos.y - 1.0f + (float)(int)(g.Font->Ascent * (g.FontSize / g.Font->FontSize) + 0.5f) + (float)(int)(g.Font->DisplayOffset.y); a.y = b.y - rem_third; c.y = b.y - rem_third * 2.0f;