mirror of
https://github.com/ppy/osu
synced 2024-12-27 01:12:45 +00:00
Better signal when no beatmaps are loaded
This commit is contained in:
parent
804848c9fb
commit
b6896376e7
@ -159,10 +159,17 @@ namespace osu.Game.Overlays.FirstRunSetup
|
||||
{
|
||||
currentlyLoadedBeatmaps.Text = $"You currently have {sender.Count} beatmap(s) loaded!";
|
||||
|
||||
if (changes != null && (changes.DeletedIndices.Any() || changes.InsertedIndices.Any()))
|
||||
if (sender.Count == 0)
|
||||
{
|
||||
currentlyLoadedBeatmaps.FadeColour(colours.YellowLight).FadeColour(OverlayColourProvider.Content2);
|
||||
currentlyLoadedBeatmaps.ScaleTo(1.1f).ScaleTo(1, 1000, Easing.OutQuint);
|
||||
currentlyLoadedBeatmaps.FadeColour(colours.Red1, 500, Easing.OutQuint);
|
||||
}
|
||||
else if (changes != null && (changes.DeletedIndices.Any() || changes.InsertedIndices.Any()))
|
||||
{
|
||||
currentlyLoadedBeatmaps.FadeColour(colours.Yellow)
|
||||
.FadeColour(OverlayColourProvider.Content2, 1500, Easing.OutQuint);
|
||||
|
||||
currentlyLoadedBeatmaps.ScaleTo(1.1f)
|
||||
.ScaleTo(1, 1500, Easing.OutQuint);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user