aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/roomedit
diff options
context:
space:
mode:
authorsyeyoung <cyong06@naver.com>2021-01-02 00:19:39 +0900
committersyeyoung <cyong06@naver.com>2021-01-02 00:19:39 +0900
commit4ee8f51e128ccc591de86147af11b7b66f36b2a6 (patch)
tree2760ffbda0aecf207961228a46f47b542a7eccad /src/main/java/kr/syeyoung/dungeonsguide/roomedit
parent997220275d9164271d3ceb636e90f18913038912 (diff)
downloadSkyblock-Dungeons-Guide-4ee8f51e128ccc591de86147af11b7b66f36b2a6.tar.gz
Skyblock-Dungeons-Guide-4ee8f51e128ccc591de86147af11b7b66f36b2a6.tar.bz2
Skyblock-Dungeons-Guide-4ee8f51e128ccc591de86147af11b7b66f36b2a6.zip
fix smol bugs
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/roomedit')
-rwxr-xr-xsrc/main/java/kr/syeyoung/dungeonsguide/roomedit/valueedit/ValueEditColor.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/roomedit/valueedit/ValueEditColor.java b/src/main/java/kr/syeyoung/dungeonsguide/roomedit/valueedit/ValueEditColor.java
index 6a4c17c5..bc6a0e0f 100755
--- a/src/main/java/kr/syeyoung/dungeonsguide/roomedit/valueedit/ValueEditColor.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/roomedit/valueedit/ValueEditColor.java
@@ -53,7 +53,7 @@ public class ValueEditColor extends MPanel implements ValueEdit<Color> {
Color.RGBtoHSB(color.getRed(), color.getGreen(), color.getBlue(), hsv);
{
- h = new MFloatSelectionButton(hsv[0]);
+ h = new MFloatSelectionButton(hsv[0] * 360);
h.setOnUpdate(new Runnable() {
@Override
public void run() {
@@ -66,7 +66,7 @@ public class ValueEditColor extends MPanel implements ValueEdit<Color> {
add(mLabelAndElement);
}
{
- s = new MFloatSelectionButton(hsv[0]);
+ s = new MFloatSelectionButton(hsv[1] * 100);
s.setOnUpdate(new Runnable() {
@Override
public void run() {
@@ -79,7 +79,7 @@ public class ValueEditColor extends MPanel implements ValueEdit<Color> {
add(mLabelAndElement);
}
{
- v = new MFloatSelectionButton(hsv[0]);
+ v = new MFloatSelectionButton(hsv[2] * 100);
v.setOnUpdate(new Runnable() {
@Override
public void run() {