mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 16:12:57 +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;
|
break;
|
||||||
case DownloadState.Downloaded:
|
case DownloadState.Downloaded:
|
||||||
|
textSprites.Children = new Drawable[]
|
||||||
|
{
|
||||||
|
new OsuSpriteText
|
||||||
|
{
|
||||||
|
Text = "Importing...",
|
||||||
|
TextSize = 13,
|
||||||
|
Font = @"Exo2.0-Bold",
|
||||||
|
},
|
||||||
|
};
|
||||||
|
break;
|
||||||
|
case DownloadState.LocallyAvailable:
|
||||||
this.FadeOut(200);
|
this.FadeOut(200);
|
||||||
break;
|
break;
|
||||||
case DownloadState.NotDownloaded:
|
case DownloadState.NotDownloaded:
|
||||||
|
@ -48,6 +48,7 @@ namespace osu.Game.Overlays.Direct
|
|||||||
progressBar.ResizeHeightTo(4, 400, Easing.OutQuint);
|
progressBar.ResizeHeightTo(4, 400, Easing.OutQuint);
|
||||||
break;
|
break;
|
||||||
case DownloadState.Downloaded:
|
case DownloadState.Downloaded:
|
||||||
|
progressBar.FadeIn(400, Easing.OutQuint);
|
||||||
progressBar.Current.Value = 1;
|
progressBar.Current.Value = 1;
|
||||||
progressBar.FillColour = colours.Yellow;
|
progressBar.FillColour = colours.Yellow;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user