diff options
author | Juuxel <6596629+Juuxel@users.noreply.github.com> | 2020-03-19 20:26:10 +0200 |
---|---|---|
committer | Juuxel <6596629+Juuxel@users.noreply.github.com> | 2020-03-19 20:26:41 +0200 |
commit | 8b3c9477ed7983d7677915053e57743f0cfe04b9 (patch) | |
tree | 58bd3daa1e0875ced92a000e1f8caacdfa0dab97 /src/main/java | |
parent | a9361c757a636c9d62bbc180a5c0468f649784ba (diff) | |
download | LibGui-8b3c9477ed7983d7677915053e57743f0cfe04b9.tar.gz LibGui-8b3c9477ed7983d7677915053e57743f0cfe04b9.tar.bz2 LibGui-8b3c9477ed7983d7677915053e57743f0cfe04b9.zip |
Fix #38
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/io/github/cottonmc/cotton/gui/widget/WButton.java | 4 |
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); } |