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:
@ -24,7 +24,7 @@ namespace osu.Game.Graphics.Containers
|
||||
|
||||
public Drawable ExpandableHeader
|
||||
{
|
||||
get { return expandableHeader; }
|
||||
get => expandableHeader;
|
||||
set
|
||||
{
|
||||
if (value == expandableHeader) return;
|
||||
@ -40,7 +40,7 @@ namespace osu.Game.Graphics.Containers
|
||||
|
||||
public Drawable FixedHeader
|
||||
{
|
||||
get { return fixedHeader; }
|
||||
get => fixedHeader;
|
||||
set
|
||||
{
|
||||
if (value == fixedHeader) return;
|
||||
@ -56,7 +56,7 @@ namespace osu.Game.Graphics.Containers
|
||||
|
||||
public Drawable Footer
|
||||
{
|
||||
get { return footer; }
|
||||
get => footer;
|
||||
set
|
||||
{
|
||||
if (value == footer) return;
|
||||
@ -75,7 +75,7 @@ namespace osu.Game.Graphics.Containers
|
||||
|
||||
public Drawable HeaderBackground
|
||||
{
|
||||
get { return headerBackground; }
|
||||
get => headerBackground;
|
||||
set
|
||||
{
|
||||
if (value == headerBackground) return;
|
||||
|
Reference in New Issue
Block a user