From 8b3c9477ed7983d7677915053e57743f0cfe04b9 Mon Sep 17 00:00:00 2001 From: Juuxel <6596629+Juuxel@users.noreply.github.com> Date: Thu, 19 Mar 2020 20:26:10 +0200 Subject: Fix #38 --- src/main/java/io/github/cottonmc/cotton/gui/widget/WButton.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main') diff --git a/src/main/java/io/github/cottonmc/cotton/gui/widget/WButton.java b/src/main/java/io/github/cottonmc/cotton/gui/widget/WButton.java index 9addb22..fbf664d 100644 --- a/src/main/java/io/github/cottonmc/cotton/gui/widget/WButton.java +++ b/src/main/java/io/github/cottonmc/cotton/gui/widget/WButton.java @@ -54,9 +54,9 @@ public class WButton extends WWidget { int color = 0xE0E0E0; if (!enabled) { color = 0xA0A0A0; - } else if (hovered) { + } /*else if (hovered) { color = 0xFFFFA0; - } + }*/ ScreenDrawing.drawStringWithShadow(label.asFormattedString(), alignment, x, y + ((20 - 8) / 2), width, color); //LibGuiClient.config.darkMode ? darkmodeColor : color); } -- cgit