From 7f3ba63f6e57352fbac509f77bcd47b7f1a6e2d4 Mon Sep 17 00:00:00 2001 From: lunarcleint <88809950+lunarcleint@users.noreply.github.com> Date: Sun, 6 Aug 2023 14:41:57 -0700 Subject: [PATCH] meta data screen works now --- source/funkin/editors/charter/MetaDataScreen.hx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/funkin/editors/charter/MetaDataScreen.hx b/source/funkin/editors/charter/MetaDataScreen.hx index 0b5897ce..9c38a2d6 100644 --- a/source/funkin/editors/charter/MetaDataScreen.hx +++ b/source/funkin/editors/charter/MetaDataScreen.hx @@ -32,6 +32,7 @@ class MetaDataScreen extends UISubstateWindow { public override function create() { winTitle = "Edit Metadata"; winWidth = 748 - 32 + 40; + winHeight = 520; super.create(); @@ -97,7 +98,7 @@ class MetaDataScreen extends UISubstateWindow { for (checkbox in [opponentModeCheckbox, coopAllowedCheckbox]) {checkbox.y += 6; checkbox.x += 4;} - saveButton = new UIButton(windowSpr.x + windowSpr.bWidth - 20, colorWheel.y + 32 + 197 + 26, "Save & Close", function() { + saveButton = new UIButton(windowSpr.x + windowSpr.bWidth - 20, windowSpr.y + windowSpr.bHeight - 20, "Save & Close", function() { saveMeta(); close(); }, 125); @@ -151,5 +152,7 @@ class MetaDataScreen extends UISubstateWindow { coopAllowed: coopAllowedCheckbox.checked, difficulties: [for (diff in difficulitesTextBox.label.text.split(",")) diff.trim()], }; + + Charter.instance.updateBPMEvents(); } } \ No newline at end of file