mirror of
https://github.com/ppy/osu.git
synced 2024-11-13 16:13:34 +08:00
Add visual display in participants list when availability is still being established
This commit is contained in:
parent
664a2b2255
commit
3883c28b15
@ -107,6 +107,7 @@ namespace osu.Game.Tests.Visual.Multiplayer
|
||||
[Test]
|
||||
public void TestBeatmapDownloadingStates()
|
||||
{
|
||||
AddStep("set to unknown", () => MultiplayerClient.ChangeBeatmapAvailability(BeatmapAvailability.Unknown()));
|
||||
AddStep("set to no map", () => MultiplayerClient.ChangeBeatmapAvailability(BeatmapAvailability.NotDownloaded()));
|
||||
AddStep("set to downloading map", () => MultiplayerClient.ChangeBeatmapAvailability(BeatmapAvailability.Downloading(0)));
|
||||
|
||||
|
@ -154,6 +154,12 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer.Participants
|
||||
this.FadeOut(fade_time);
|
||||
break;
|
||||
|
||||
case DownloadState.Unknown:
|
||||
text.Text = "checking availability";
|
||||
icon.Icon = FontAwesome.Solid.Question;
|
||||
icon.Colour = colours.Orange0;
|
||||
break;
|
||||
|
||||
case DownloadState.NotDownloaded:
|
||||
text.Text = "no map";
|
||||
icon.Icon = FontAwesome.Solid.MinusCircle;
|
||||
|
Loading…
Reference in New Issue
Block a user