From 2fa0d38b684d024c471e2a1cbdd933565ef5a6d4 Mon Sep 17 00:00:00 2001 From: Alexandra-Myers Date: Sat, 23 Sep 2023 18:26:36 -0400 Subject: [PATCH] fixing resources --- .../lib/util/screen/TexturedOverlayButtonWidget.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/midnightdust/lib/util/screen/TexturedOverlayButtonWidget.java b/src/main/java/eu/midnightdust/lib/util/screen/TexturedOverlayButtonWidget.java index 6aa8ee6..5630701 100644 --- a/src/main/java/eu/midnightdust/lib/util/screen/TexturedOverlayButtonWidget.java +++ b/src/main/java/eu/midnightdust/lib/util/screen/TexturedOverlayButtonWidget.java @@ -36,7 +36,7 @@ public static TexturedOverlayButtonWidget.Builder texturedBuilder(Text message, public void renderButton(DrawContext context, int mouseX, int mouseY, float delta) { int i = 66; if (!this.isNarratable()) { - i += hoveredVOffset * 2; + i -= hoveredVOffset; } else if (this.isSelected()) { i += hoveredVOffset; }