aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/kr/syeyoung/dungeonsguide/roomedit/valueedit
diff options
context:
space:
mode:
authorsyeyoung <cyong06@naver.com>2021-01-30 22:10:33 +0900
committersyeyoung <cyong06@naver.com>2021-01-30 22:10:33 +0900
commit67d46ac0d75c515c5f0b90c8a802367904531101 (patch)
tree895d51c03344f3092411df3f8ab18de6caeaa916 /src/main/java/kr/syeyoung/dungeonsguide/roomedit/valueedit
parentc41e15bb13825f12d3b2d866d29b32821144dc4d (diff)
downloadSkyblock-Dungeons-Guide-67d46ac0d75c515c5f0b90c8a802367904531101.tar.gz
Skyblock-Dungeons-Guide-67d46ac0d75c515c5f0b90c8a802367904531101.tar.bz2
Skyblock-Dungeons-Guide-67d46ac0d75c515c5f0b90c8a802367904531101.zip
value edit wron
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/roomedit/valueedit')
-rwxr-xr-xsrc/main/java/kr/syeyoung/dungeonsguide/roomedit/valueedit/ValueEditAColor.java2
-rwxr-xr-xsrc/main/java/kr/syeyoung/dungeonsguide/roomedit/valueedit/ValueEditColor.java2
2 files changed, 2 insertions, 2 deletions
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<AColor> {
@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<Color> {
@Override
public Object createDefaultValue(Parameter parameter) {
- return 0;
+ return Color.red;
}
@Override