From 67d46ac0d75c515c5f0b90c8a802367904531101 Mon Sep 17 00:00:00 2001 From: syeyoung Date: Sat, 30 Jan 2021 22:10:33 +0900 Subject: value edit wron --- .../kr/syeyoung/dungeonsguide/roomedit/valueedit/ValueEditAColor.java | 2 +- .../kr/syeyoung/dungeonsguide/roomedit/valueedit/ValueEditColor.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main') diff --git a/src/main/java/kr/syeyoung/dungeonsguide/roomedit/valueedit/ValueEditAColor.java b/src/main/java/kr/syeyoung/dungeonsguide/roomedit/valueedit/ValueEditAColor.java index 5d63afe1..22b0fe71 100755 --- a/src/main/java/kr/syeyoung/dungeonsguide/roomedit/valueedit/ValueEditAColor.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/roomedit/valueedit/ValueEditAColor.java @@ -312,7 +312,7 @@ public class ValueEditAColor extends MPanel implements ValueEdit { @Override public Object createDefaultValue(Parameter parameter) { - return 0; + return new AColor(255,0,0,255); } @Override 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 6e08bdfe..52b0bcca 100755 --- a/src/main/java/kr/syeyoung/dungeonsguide/roomedit/valueedit/ValueEditColor.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/roomedit/valueedit/ValueEditColor.java @@ -260,7 +260,7 @@ public class ValueEditColor extends MPanel implements ValueEdit { @Override public Object createDefaultValue(Parameter parameter) { - return 0; + return Color.red; } @Override -- cgit