mirror of
https://github.com/ocornut/imgui.git
synced 2024-11-24 15:50:25 +01:00
Tweak to RenderCheckMark()
This commit is contained in:
parent
d7a2a23457
commit
baa2328b99
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user