From 8b9473957f5642194745f815d2ef7e820ea0abba Mon Sep 17 00:00:00 2001 From: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Sat, 25 May 2024 13:04:56 -0700 Subject: [PATCH] Fix off by one for drawLine --- src/BizHawk.Bizware.Graphics/Renderers/ImGui2DRenderer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BizHawk.Bizware.Graphics/Renderers/ImGui2DRenderer.cs b/src/BizHawk.Bizware.Graphics/Renderers/ImGui2DRenderer.cs index 0473d0af00..cbdc2f183e 100644 --- a/src/BizHawk.Bizware.Graphics/Renderers/ImGui2DRenderer.cs +++ b/src/BizHawk.Bizware.Graphics/Renderers/ImGui2DRenderer.cs @@ -450,7 +450,7 @@ namespace BizHawk.Bizware.Graphics { _imGuiDrawList.AddLine( p1: new(x1, y1), - p2: new(x2, y2), + p2: new(x2 + 0.5f, y2 + 0.5f), col: (uint)color.ToArgb(), thickness: RenderThickness); }