This commit is contained in:
Anuken
2025-02-07 20:49:21 -05:00
parent 28283b45e4
commit 88cfb10621
3 changed files with 3 additions and 1 deletions

View File

@@ -132,7 +132,7 @@ public class ColorPicker extends BaseDialog{
hexField = t.field(current.toString(), value -> {
try{
current.set(Color.valueOf(value).a(a));
Color.valueOf(current, value);
current.toHsv(values);
h = values[0];
s = values[1];