From c936fa7f45b4981d91af13dc35553b19b709cd7b Mon Sep 17 00:00:00 2001 From: Kolze <53307233+KolzeYT@users.noreply.github.com> Date: Sun, 27 Jul 2025 23:10:16 +0200 Subject: [PATCH] fixed event icons not updating after changing the character --- source/funkin/editors/charter/CharterStrumlineScreen.hx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/funkin/editors/charter/CharterStrumlineScreen.hx b/source/funkin/editors/charter/CharterStrumlineScreen.hx index e4b1b318..ce7aaad9 100644 --- a/source/funkin/editors/charter/CharterStrumlineScreen.hx +++ b/source/funkin/editors/charter/CharterStrumlineScreen.hx @@ -144,6 +144,9 @@ class CharterStrumlineScreen extends UISubstateWindow { saveButton = new UIButton(windowSpr.x + windowSpr.bWidth - 20 - 125, windowSpr.y + windowSpr.bHeight - 16 - 32, TU.translate("editor.saveClose"), function() { saveStrumline(); + for (grp in [Charter.instance.leftEventsGroup, Charter.instance.rightEventsGroup]) { + for (e in grp.members) e.refreshEventIcons(); + } close(); }, 125); add(saveButton); @@ -284,4 +287,4 @@ class CharacterButton extends UIButton { super.update(elapsed); } -} \ No newline at end of file +}