aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io
diff options
context:
space:
mode:
authorJuuxel <6596629+Juuxel@users.noreply.github.com>2020-03-19 20:26:10 +0200
committerJuuxel <6596629+Juuxel@users.noreply.github.com>2020-03-19 20:34:11 +0200
commita5156a64e9a618598a82dfa42e60faf0c572a74b (patch)
treed05bc8a5e84bc7c86175f0fde9f96611a4789989 /src/main/java/io
parentbbdb7a75fdd43847ab64f5d8aa6cb33d454d717e (diff)
downloadLibGui-a5156a64e9a618598a82dfa42e60faf0c572a74b.tar.gz
LibGui-a5156a64e9a618598a82dfa42e60faf0c572a74b.tar.bz2
LibGui-a5156a64e9a618598a82dfa42e60faf0c572a74b.zip
Fix #38
(cherry picked from commit 8b3c9477ed7983d7677915053e57743f0cfe04b9)
Diffstat (limited to 'src/main/java/io')
-rw-r--r--src/main/java/io/github/cottonmc/cotton/gui/widget/WButton.java4
1 files changed, 2 insertions, 2 deletions
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);
}