1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 05:02:55 +08:00

Implement suggested changes

Note: LogoVisualisation is likely going to be needed in a separate PR to conform to the review.
This commit is contained in:
Shivam 2020-06-08 20:13:02 +02:00
parent 229a40e6e3
commit e821d787b4

View File

@ -44,7 +44,7 @@ namespace osu.Game.Screens.Menu
welcome?.Play();
pianoReverb?.Play();
Scheduler.AddDelayed(delegate
Scheduler.AddDelayed(() =>
{
StartTrack();
PrepareMenuLoad();
@ -146,16 +146,7 @@ namespace osu.Game.Screens.Menu
{
welcomeText.ResizeHeightTo(welcomeText.Height * 2, 500, Easing.In);
welcomeText.FadeIn(remainingTime());
welcomeText.ScaleTo(welcomeText.Scale + new Vector2(0.1f), remainingTime(), Easing.Out).OnComplete(_ =>
{
elementContainer.Remove(visualizer);
circleContainer.Remove(blackCircle);
elementContainer.Remove(circleContainer);
Remove(welcomeText);
visualizer.Dispose();
blackCircle.Dispose();
welcomeText.Dispose();
});
welcomeText.ScaleTo(welcomeText.Scale + new Vector2(0.1f), remainingTime(), Easing.Out).OnComplete(_ => Expire());
}
}
}