mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Remove one-entry backing fields.
This commit is contained in:
@ -25,31 +25,27 @@ namespace osu.Game.Modes.UI
|
||||
reapplySize();
|
||||
}
|
||||
}
|
||||
|
||||
private Color4 backgroundColour;
|
||||
new public Color4 Colour
|
||||
|
||||
public new Color4 Colour
|
||||
{
|
||||
get
|
||||
{
|
||||
return backgroundColour;
|
||||
return background.Colour;
|
||||
}
|
||||
set
|
||||
{
|
||||
backgroundColour = value;
|
||||
background.Colour = value;
|
||||
}
|
||||
}
|
||||
|
||||
private FontAwesome icon;
|
||||
|
||||
public FontAwesome Icon
|
||||
{
|
||||
get
|
||||
{
|
||||
return icon;
|
||||
return modIcon.Icon;
|
||||
}
|
||||
set
|
||||
{
|
||||
icon = value;
|
||||
modIcon.Icon = value;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user