From 35388030ca35cebabdb4a814e2aec3dcae49dbd2 Mon Sep 17 00:00:00 2001 From: Frakits Date: Sun, 4 Feb 2024 09:44:13 +0200 Subject: [PATCH] h --- source/funkin/editors/character/CharacterInfoScreen.hx | 2 +- source/funkin/editors/charter/MetaDataScreen.hx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/funkin/editors/character/CharacterInfoScreen.hx b/source/funkin/editors/character/CharacterInfoScreen.hx index 27673c2b..d6be7ba7 100644 --- a/source/funkin/editors/character/CharacterInfoScreen.hx +++ b/source/funkin/editors/character/CharacterInfoScreen.hx @@ -108,7 +108,7 @@ class CharacterInfoScreen extends UISubstateWindow { customPropertiesButtonList.frames = Paths.getFrames('editors/ui/inputbox'); customPropertiesButtonList.cameraSpacing = 0; customPropertiesButtonList.addButton.callback = function() { - customPropertiesButtonList.add(new PropertyButton("New Property", "Value Here", customPropertiesButtonList)); + customPropertiesButtonList.add(new PropertyButton("newProperty", "valueHere", customPropertiesButtonList)); } for (prop=>val in character.extra) customPropertiesButtonList.add(new PropertyButton(prop, val, customPropertiesButtonList)); diff --git a/source/funkin/editors/charter/MetaDataScreen.hx b/source/funkin/editors/charter/MetaDataScreen.hx index 63ff614d..9ee8783e 100644 --- a/source/funkin/editors/charter/MetaDataScreen.hx +++ b/source/funkin/editors/charter/MetaDataScreen.hx @@ -101,7 +101,7 @@ class MetaDataScreen extends UISubstateWindow { customPropertiesButtonList.frames = Paths.getFrames('editors/ui/inputbox'); customPropertiesButtonList.cameraSpacing = 0; customPropertiesButtonList.addButton.callback = function() { - customPropertiesButtonList.add(new PropertyButton("Property", "Value Here", customPropertiesButtonList)); + customPropertiesButtonList.add(new PropertyButton("newProperty", "valueHere", customPropertiesButtonList)); } for (val in Reflect.fields(metadata.customValues)) customPropertiesButtonList.add(new PropertyButton(val, Reflect.field(metadata.customValues, val), customPropertiesButtonList));