diff options
| author | nextdaydelivery <79922345+nxtdaydelivery@users.noreply.github.com> | 2022-05-26 18:05:16 +0100 |
|---|---|---|
| committer | nextdaydelivery <79922345+nxtdaydelivery@users.noreply.github.com> | 2022-05-26 18:05:16 +0100 |
| commit | c1010e9c2c6d82bd3f40c246e45cfe8e9b039d7b (patch) | |
| tree | d634326c96182929c417225c1311005d5e195543 /src/main/java/cc/polyfrost/oneconfig/gui/elements/text | |
| parent | 6160224ebc584194526f1f31b9a0d63c0ba017d4 (diff) | |
| download | OneConfig-c1010e9c2c6d82bd3f40c246e45cfe8e9b039d7b.tar.gz OneConfig-c1010e9c2c6d82bd3f40c246e45cfe8e9b039d7b.tar.bz2 OneConfig-c1010e9c2c6d82bd3f40c246e45cfe8e9b039d7b.zip | |
Color Utils fixes and more
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/gui/elements/text')
| -rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/gui/elements/text/NumberInputField.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/gui/elements/text/NumberInputField.java b/src/main/java/cc/polyfrost/oneconfig/gui/elements/text/NumberInputField.java index 3b6fa43..925f61d 100644 --- a/src/main/java/cc/polyfrost/oneconfig/gui/elements/text/NumberInputField.java +++ b/src/main/java/cc/polyfrost/oneconfig/gui/elements/text/NumberInputField.java @@ -47,8 +47,8 @@ public class NumberInputField extends TextInputField { if (current == max) colorTop = OneConfigConfig.GRAY_500_80; if (current == min) colorBottom = OneConfigConfig.GRAY_500_80; - colorTop = ColorUtils.getColor(colorTop, 2, upArrow.isHovered(), upArrow.isClicked()); - colorBottom = ColorUtils.getColor(colorBottom, 2, downArrow.isHovered(), downArrow.isClicked()); + colorTop = ColorUtils.getColor(colorTop, ColorUtils.SECONDARY, upArrow.isHovered(), upArrow.isClicked()); + colorBottom = ColorUtils.getColor(colorBottom, ColorUtils.SECONDARY, downArrow.isHovered(), downArrow.isClicked()); if (upArrow.isClicked()) { current += step; if (current > max) current = max; |
