mirror of
https://github.com/osukey/osukey.git
synced 2025-08-08 09:03:50 +09:00
fix StatusPill not setting text when initially set with NONE
This commit is contained in:
@ -14,10 +14,10 @@ namespace osu.Game.Beatmaps.Drawables
|
|||||||
{
|
{
|
||||||
private readonly OsuSpriteText statusText;
|
private readonly OsuSpriteText statusText;
|
||||||
|
|
||||||
private BeatmapSetOnlineStatus status = BeatmapSetOnlineStatus.None;
|
private BeatmapSetOnlineStatus status;
|
||||||
public BeatmapSetOnlineStatus Status
|
public BeatmapSetOnlineStatus Status
|
||||||
{
|
{
|
||||||
get { return status; }
|
get => status;
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
if (value == status) return;
|
if (value == status) return;
|
||||||
@ -49,6 +49,8 @@ namespace osu.Game.Beatmaps.Drawables
|
|||||||
Padding = textPadding,
|
Padding = textPadding,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Status = BeatmapSetOnlineStatus.None;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user