From 047187257b6712e61bf05fdebab33c7b3e9ac0f6 Mon Sep 17 00:00:00 2001 From: AwesomezPro99 Date: Thu, 25 Sep 2025 17:28:53 -0400 Subject: [PATCH] Hide cursor when playtesting chart --- source/funkin/ui/debug/charting/ChartEditorState.hx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/funkin/ui/debug/charting/ChartEditorState.hx b/source/funkin/ui/debug/charting/ChartEditorState.hx index e725b771e..2b27fc990 100644 --- a/source/funkin/ui/debug/charting/ChartEditorState.hx +++ b/source/funkin/ui/debug/charting/ChartEditorState.hx @@ -3534,7 +3534,7 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState // Show the mouse cursor. // Just throwing this somewhere convenient and infrequently called because sometimes Flixel's debug thing hides the cursor. - Cursor.show(); + if (this.subState == null) Cursor.show(); return true; } @@ -6181,6 +6181,8 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState this.persistentDraw = false; stopWelcomeMusic(); + Cursor.hide(); + LoadingState.loadPlayState(targetStateParams, false, true, function(targetState) { targetState.vocals = audioVocalTrackGroup; }); @@ -6583,6 +6585,8 @@ class ChartEditorState extends UIState // UIState derives from MusicBeatState fadeInWelcomeMusic(WELCOME_MUSIC_FADE_IN_DELAY, WELCOME_MUSIC_FADE_IN_DURATION); + Cursor.show(); + // Reapply the volume and playback rate. var instTargetVolume:Float = (menubarItemVolumeInstrumental.value / 100.0) ?? 1.0; var vocalPlayerTargetVolume:Float = (menubarItemVolumeVocalsPlayer.value / 100.0) ?? 1.0;