mirror of
https://github.com/ppy/osu.git
synced 2025-01-27 00:23:01 +08:00
Fix delayed logo animations playing even if screen has already been exited
This commit is contained in:
parent
e8cc3294d7
commit
6d6b186fb2
@ -231,7 +231,10 @@ namespace osu.Game.Screens
|
||||
|
||||
private void applyArrivingDefaults(bool isResuming)
|
||||
{
|
||||
logo.AppendAnimatingAction(() => LogoArriving(logo, isResuming), true);
|
||||
logo.AppendAnimatingAction(() =>
|
||||
{
|
||||
if (IsCurrentScreen) LogoArriving(logo, isResuming);
|
||||
}, true);
|
||||
|
||||
if (backgroundParallaxContainer != null)
|
||||
backgroundParallaxContainer.ParallaxAmount = ParallaxContainer.DEFAULT_PARALLAX_AMOUNT * BackgroundParallaxAmount;
|
||||
|
Loading…
Reference in New Issue
Block a user