@@ -1454,7 +1454,8 @@ class FreeplayState extends MusicBeatSubState
1454
1454
fadeDots (false );
1455
1455
1456
1456
#if FEATURE_TOUCH_CONTROLS
1457
- FlxTween .tween (backButton , {alpha : 0.0001 }, 0.4 , {ease : FlxEase .quadOut });
1457
+ backTransitioning = true ;
1458
+ FlxTween .tween (backButton , {alpha : 0 }, 0.4 , {ease : FlxEase .quadOut });
1458
1459
#end
1459
1460
1460
1461
funnyCam .filtersEnabled = true ;
@@ -1569,7 +1570,7 @@ class FreeplayState extends MusicBeatSubState
1569
1570
backButton .animation .play (" idle" );
1570
1571
backButton .alpha = backButton .restingOpacity ;
1571
1572
}
1572
- backButton .active = controls .active ;
1573
+ backButton .enabled = controls .active ;
1573
1574
}
1574
1575
#end
1575
1576
@@ -2127,7 +2128,7 @@ class FreeplayState extends MusicBeatSubState
2127
2128
2128
2129
#if FEATURE_TOUCH_CONTROLS
2129
2130
FlxTween .tween (backButton , {x : FlxG .width + 300 }, 0.45 , {ease : FlxEase .expoIn });
2130
- FlxTween .tween (backButton , {alpha : 0.0001 }, 0.3 , {ease : FlxEase .quadOut , startDelay : 0.15 });
2131
+ FlxTween .tween (backButton , {alpha : 0 }, 0.3 , {ease : FlxEase .quadOut , startDelay : 0.15 });
2131
2132
#end
2132
2133
2133
2134
for (caps in grpCapsules .members )
@@ -2456,7 +2457,7 @@ class FreeplayState extends MusicBeatSubState
2456
2457
/**
2457
2458
* Called when hitting ENTER on an instrumental choice for random capsule
2458
2459
*/
2459
- function capsuleOnConfirmRandom (availableSongCapsules : Array <SongMenuItem >, instChoice : String ): Void
2460
+ function capsuleOnConfirmRandom (availableSongCapsules : Array <SongMenuItem >, instChoice : String ): Void
2460
2461
{
2461
2462
cleanupCapsuleOptionsMenu ();
2462
2463
controls .active = false ;
@@ -2680,6 +2681,13 @@ class FreeplayState extends MusicBeatSubState
2680
2681
new FlxTimer ().start (styleData ?. getStartDelay (), function (tmr : FlxTimer ) {
2681
2682
FunkinSound .emptyPartialQueue ();
2682
2683
2684
+ #if FEATURE_TOUCH_CONTROLS
2685
+ if (backButton != null )
2686
+ {
2687
+ backTransitioning = true ;
2688
+ FlxTween .tween (backButton , {alpha : 0 }, 0.2 , {ease : FlxEase .quadOut });
2689
+ }
2690
+ #end
2683
2691
funnyCam .fade (FlxColor .BLACK , 0.2 , false , function () {
2684
2692
Paths .setCurrentLevel (cap ?. freeplayData ?. levelId );
2685
2693
LoadingState .loadPlayState (
0 commit comments