From 671a9bbad56f7760536058d2c364c0b9ff2f9e52 Mon Sep 17 00:00:00 2001 From: nextdaydelivery <79922345+nxtdaydelivery@users.noreply.github.com> Date: Wed, 11 May 2022 18:45:02 +0100 Subject: color selector second stage almost done --- src/main/java/cc/polyfrost/oneconfig/lwjgl/OneColor.java | 2 +- src/main/java/cc/polyfrost/oneconfig/lwjgl/image/Images.java | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'src/main/java/cc/polyfrost/oneconfig/lwjgl') 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"), -- cgit