From 2b38d2d62391428a7fa40f268a4e65f876dd0e75 Mon Sep 17 00:00:00 2001 From: DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> Date: Sat, 23 Apr 2022 14:07:29 +0200 Subject: fix blurry rendering when using mc gui scale + nanovg --- src/main/java/io/polyfrost/oneconfig/gui/HudGui.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/main/java/io/polyfrost/oneconfig/gui') diff --git a/src/main/java/io/polyfrost/oneconfig/gui/HudGui.java b/src/main/java/io/polyfrost/oneconfig/gui/HudGui.java index 77521f9..83b5ac3 100644 --- a/src/main/java/io/polyfrost/oneconfig/gui/HudGui.java +++ b/src/main/java/io/polyfrost/oneconfig/gui/HudGui.java @@ -80,8 +80,9 @@ public class HudGui extends GuiScreen { }); if (hud == editingHud && !isDragging) { - Gui.drawRect(x + width - 3, y + height - 3, x + width + 3, y + height + 3, new Color(43, 159, 235).getRGB()); - Gui.drawRect(x + width - 2, y + height - 2, x + width + 2, y + height + 2, new Color(252, 252, 252).getRGB()); + RenderManager.setupAndDraw(true, (vg) -> { + RenderManager.drawCircle(vg, x + width, y + height, 3, new Color(43, 159, 235).getRGB()); + }); } } } -- cgit