Hide cursor when playtesting chart
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user