1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 15:07:44 +08:00

fix StatusPill not setting text when initially set with NONE

This commit is contained in:
Unknown 2018-09-13 08:54:58 +02:00
parent 40f7c1bd99
commit 221a99d886

View File

@ -14,10 +14,10 @@ namespace osu.Game.Beatmaps.Drawables
{
private readonly OsuSpriteText statusText;
private BeatmapSetOnlineStatus status = BeatmapSetOnlineStatus.None;
private BeatmapSetOnlineStatus status;
public BeatmapSetOnlineStatus Status
{
get { return status; }
get => status;
set
{
if (value == status) return;
@ -49,6 +49,8 @@ namespace osu.Game.Beatmaps.Drawables
Padding = textPadding,
},
};
Status = BeatmapSetOnlineStatus.None;
}
}
}