Rename parameter and default to 0

This commit is contained in:
Salman Ahmed 2022-07-07 23:31:04 +03:00
parent 15d070668d
commit 07a08d28c6
2 changed files with 3 additions and 3 deletions

View File

@ -252,10 +252,10 @@ namespace osu.Game.Screens.Menu
private bool backgroundFaded;
protected void FadeInBackground(float fadeInTime)
protected void FadeInBackground(float duration = 0)
{
ApplyToBackground(b => b.FadeColour(Color4.White, duration));
backgroundFaded = true;
ApplyToBackground(b => b.FadeColour(Color4.White, fadeInTime));
}
public override void OnSuspending(ScreenTransitionEvent e)

View File

@ -67,7 +67,7 @@ namespace osu.Game.Screens.Menu
if (UsingThemedIntro)
decoupledClock.ChangeSource(Track);
LoadComponentAsync(intro = new TrianglesIntroSequence(logo, () => FadeInBackground(0))
LoadComponentAsync(intro = new TrianglesIntroSequence(logo, () => FadeInBackground())
{
RelativeSizeAxes = Axes.Both,
Clock = decoupledClock,