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:
@ -18,7 +18,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
|
||||
public Color4 FillColour
|
||||
{
|
||||
set { fill.FadeColour(value, 150, Easing.OutQuint); }
|
||||
set => fill.FadeColour(value, 150, Easing.OutQuint);
|
||||
}
|
||||
|
||||
public Color4 BackgroundColour
|
||||
@ -32,12 +32,12 @@ namespace osu.Game.Graphics.UserInterface
|
||||
|
||||
public double EndTime
|
||||
{
|
||||
set { CurrentNumber.MaxValue = value; }
|
||||
set => CurrentNumber.MaxValue = value;
|
||||
}
|
||||
|
||||
public double CurrentTime
|
||||
{
|
||||
set { CurrentNumber.Value = value; }
|
||||
set => CurrentNumber.Value = value;
|
||||
}
|
||||
|
||||
public ProgressBar()
|
||||
|
Reference in New Issue
Block a user