1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-21 00:12:59 +08:00
This commit is contained in:
DrabWeb 2017-05-24 22:39:07 -03:00
parent ec3c92fc3c
commit e22eb1f205

View File

@ -256,7 +256,9 @@ namespace osu.Game.Overlays.Settings.Sections.General
{
set
{
(Header as UserDropdownHeader).StatusColour = value;
var h = Header as UserDropdownHeader;
if (h == null) return;
h.StatusColour = value;
}
}
@ -268,10 +270,9 @@ namespace osu.Game.Overlays.Settings.Sections.General
private class UserDropdownHeader : OsuDropdownHeader
{
public static readonly float LABEL_LEFT_MARGIN = 20;
protected readonly TextAwesome statusIcon;
public const float LABEL_LEFT_MARGIN = 20;
private readonly TextAwesome statusIcon;
public Color4 StatusColour
{
set