Some animation adjustments

This commit is contained in:
Andrei Zavatski
2020-01-11 07:17:13 +03:00
parent 7716a555ec
commit d59cae33d3
2 changed files with 7 additions and 3 deletions

View File

@ -14,7 +14,7 @@ namespace osu.Game.Screens.Menu
{
public class SongTicker : Container
{
private const int duration = 500;
private const int fade_duration = 800;
[Resolved]
private Bindable<WorkingBeatmap> beatmap { get; set; }
@ -60,7 +60,7 @@ namespace osu.Game.Screens.Menu
title.Text = working.NewValue?.Metadata?.Title;
artist.Text = working.NewValue?.Metadata?.Artist;
this.FadeIn(duration, Easing.OutQuint).Delay(4000).Then().FadeOut(duration, Easing.OutQuint);
this.FadeIn(fade_duration, Easing.OutQuint).Delay(4000).Then().FadeOut(fade_duration, Easing.OutQuint);
}
}
}