mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 18:03:11 +08:00
Add default status colour
This commit is contained in:
parent
b13e8599f1
commit
03e4b2a599
@ -169,7 +169,7 @@ namespace osu.Game.Users
|
||||
private void load(OsuColour colours, UserProfileOverlay profile)
|
||||
{
|
||||
Status.ValueChanged += displayStatus;
|
||||
Status.ValueChanged += status => statusBg.FadeColour(status.GetAppropriateColour(colours), 500, EasingTypes.OutQuint);
|
||||
Status.ValueChanged += status => statusBg.FadeColour(status?.GetAppropriateColour(colours) ?? colours.Gray5, 500, EasingTypes.OutQuint);
|
||||
|
||||
base.Action = () =>
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user