mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Use expression body for property get/set where possible
This commit is contained in:
@ -22,8 +22,8 @@ namespace osu.Game.Rulesets.UI
|
||||
|
||||
public FontAwesome Icon
|
||||
{
|
||||
get { return modIcon.Icon; }
|
||||
set { modIcon.Icon = value; }
|
||||
get => modIcon.Icon;
|
||||
set => modIcon.Icon = value;
|
||||
}
|
||||
|
||||
private readonly ModType type;
|
||||
@ -100,7 +100,7 @@ namespace osu.Game.Rulesets.UI
|
||||
|
||||
public bool Highlighted
|
||||
{
|
||||
get { return highlighted; }
|
||||
get => highlighted;
|
||||
|
||||
set
|
||||
{
|
||||
|
Reference in New Issue
Block a user