diff options
author | nextdaydelivery <79922345+nxtdaydelivery@users.noreply.github.com> | 2022-05-11 18:45:02 +0100 |
---|---|---|
committer | nextdaydelivery <79922345+nxtdaydelivery@users.noreply.github.com> | 2022-05-11 18:45:02 +0100 |
commit | 671a9bbad56f7760536058d2c364c0b9ff2f9e52 (patch) | |
tree | c1bd2f605168f8a03afb5a3dfa1a67504ca9c51c /src/main/java/cc/polyfrost/oneconfig/lwjgl | |
parent | b239915ac1e4b2b51b42d2c2fe163dffcdd7ae4f (diff) | |
download | OneConfig-671a9bbad56f7760536058d2c364c0b9ff2f9e52.tar.gz OneConfig-671a9bbad56f7760536058d2c364c0b9ff2f9e52.tar.bz2 OneConfig-671a9bbad56f7760536058d2c364c0b9ff2f9e52.zip |
color selector second stage almost done
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/lwjgl')
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/lwjgl/OneColor.java | 2 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/lwjgl/image/Images.java | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/lwjgl/OneColor.java b/src/main/java/cc/polyfrost/oneconfig/lwjgl/OneColor.java index 7a4ae1e..e098390 100644 --- a/src/main/java/cc/polyfrost/oneconfig/lwjgl/OneColor.java +++ b/src/main/java/cc/polyfrost/oneconfig/lwjgl/OneColor.java @@ -149,7 +149,7 @@ public class OneColor { * Return the color as if it had maximum saturation and brightness. Internal method. */ public int getRGBMax() { - return HSBAtoRGBA(hsba[0], 100, 100, 255); + return HSBAtoRGBA(hsba[0], hsba[1], 100, 255); } /** diff --git a/src/main/java/cc/polyfrost/oneconfig/lwjgl/image/Images.java b/src/main/java/cc/polyfrost/oneconfig/lwjgl/image/Images.java index 8cb2804..97ed221 100644 --- a/src/main/java/cc/polyfrost/oneconfig/lwjgl/image/Images.java +++ b/src/main/java/cc/polyfrost/oneconfig/lwjgl/image/Images.java @@ -13,7 +13,6 @@ public enum Images { HIDE_EYE_OFF("/assets/oneconfig/icons/hide_eye_off.png"), KEYSTROKE("/assets/oneconfig/icons/keystroke.png"), - // TODO color picker ones COLOR_BASE("/assets/oneconfig/colorui/color_base.png"), COLOR_BASE_LONG("/assets/oneconfig/colorui/color_base_long.png"), COLOR_BASE_LARGE("/assets/oneconfig/colorui/color_base_large.png"), |