fix: ResultsState - Start with song name hidden until the top bar shows up

Co-authored-by: Trayfellow <48515908+trayfellow@users.noreply.github.com>
This commit is contained in:
Hyper_
2026-02-13 20:34:11 -07:00
committed by Hundrec
co-authored by Trayfellow
parent 3544a36de0
commit 32ef5404d8
+2 -1
View File
@@ -139,6 +139,7 @@ class ResultState extends MusicBeatSubState
songName.letterSpacing = -15;
songName.angle = -4.4;
songName.zIndex = 1000;
songName.visible = false;
difficulty = new FlxSprite(555 + FullScreenScaleMode.gameNotchSize.x);
difficulty.zIndex = 1000;
@@ -343,7 +344,7 @@ class ResultState extends MusicBeatSubState
blackTopBar.loadGraphic(funkin.util.BitmapUtil.createResultsBar());
blackTopBar.y = -blackTopBar.height;
FlxTween.tween(blackTopBar, {y: 0}, 7 / 24, {ease: FlxEase.quartOut, startDelay: 3 / 24});
FlxTween.tween(blackTopBar, {y: 0}, 7 / 24, {ease: FlxEase.quartOut, startDelay: 3 / 24, onComplete: _ -> songName.visible = true});
blackTopBar.zIndex = 1010;
add(blackTopBar);