From 6c64168c55625eed39d61ccbc209596c3e8d36bd Mon Sep 17 00:00:00 2001 From: TheZoroForce240 <86524550+TheZoroForce240@users.noreply.github.com> Date: Thu, 12 Sep 2024 21:27:17 +0100 Subject: [PATCH] advanced charter settings flag --- source/funkin/backend/system/Flags.hx | 2 ++ source/funkin/editors/charter/CharterStrumlineScreen.hx | 7 +++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/source/funkin/backend/system/Flags.hx b/source/funkin/backend/system/Flags.hx index fed62113..0999e759 100644 --- a/source/funkin/backend/system/Flags.hx +++ b/source/funkin/backend/system/Flags.hx @@ -14,6 +14,8 @@ class Flags { public static var SONGS_LIST_MOD_MODE:Allow<"prepend", "override", "append"> = "override"; public static var WEEKS_LIST_MOD_MODE:Allow<"prepend", "override", "append"> = "override"; + public static var CHARTER_ADVANCED_SETTINGS:Bool = false; + // Internal stuff @:bypass public static var customFlags:Map = []; diff --git a/source/funkin/editors/charter/CharterStrumlineScreen.hx b/source/funkin/editors/charter/CharterStrumlineScreen.hx index 47524fec..8576c74d 100644 --- a/source/funkin/editors/charter/CharterStrumlineScreen.hx +++ b/source/funkin/editors/charter/CharterStrumlineScreen.hx @@ -172,8 +172,11 @@ class CharterStrumlineScreen extends UISubstateWindow { addLabelOn(vocalsSuffixDropDown, "Vocal Suffix"); keyCountStepper = new UINumericStepper(stagePositionDropdown.x, vocalsSuffixDropDown.y, strumLine.keyCount != null ? strumLine.keyCount : 4, 1, 0, 1, 1000, 84); - add(keyCountStepper); - addLabelOn(keyCountStepper, "Key Count"); + if (Flags.CHARTER_ADVANCED_SETTINGS) { + add(keyCountStepper); + addLabelOn(keyCountStepper, "Key Count"); + } + strumLineCam = new HudCamera();