mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 14:25:05 +08:00
Fix "importing" state display
This commit is contained in:
parent
041e3bf823
commit
b89694a969
@ -124,6 +124,17 @@ namespace osu.Game.Overlays.BeatmapSet.Buttons
|
||||
};
|
||||
break;
|
||||
case DownloadState.Downloaded:
|
||||
textSprites.Children = new Drawable[]
|
||||
{
|
||||
new OsuSpriteText
|
||||
{
|
||||
Text = "Importing...",
|
||||
TextSize = 13,
|
||||
Font = @"Exo2.0-Bold",
|
||||
},
|
||||
};
|
||||
break;
|
||||
case DownloadState.LocallyAvailable:
|
||||
this.FadeOut(200);
|
||||
break;
|
||||
case DownloadState.NotDownloaded:
|
||||
|
@ -48,6 +48,7 @@ namespace osu.Game.Overlays.Direct
|
||||
progressBar.ResizeHeightTo(4, 400, Easing.OutQuint);
|
||||
break;
|
||||
case DownloadState.Downloaded:
|
||||
progressBar.FadeIn(400, Easing.OutQuint);
|
||||
progressBar.Current.Value = 1;
|
||||
progressBar.FillColour = colours.Yellow;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user