mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 15:16:38 +09:00
Use expression body for property get/set where possible
This commit is contained in:
@ -35,7 +35,7 @@ namespace osu.Game.Screens.Play
|
||||
public override bool HandlePositionalInput => AllowSeeking;
|
||||
|
||||
private IClock audioClock;
|
||||
public IClock AudioClock { set { audioClock = info.AudioClock = value; } }
|
||||
public IClock AudioClock { set => audioClock = info.AudioClock = value; }
|
||||
|
||||
private double lastHitTime => ((objects.Last() as IHasEndTime)?.EndTime ?? objects.Last().StartTime) + 1;
|
||||
|
||||
@ -117,10 +117,7 @@ namespace osu.Game.Screens.Play
|
||||
|
||||
public bool AllowSeeking
|
||||
{
|
||||
get
|
||||
{
|
||||
return allowSeeking;
|
||||
}
|
||||
get => allowSeeking;
|
||||
|
||||
set
|
||||
{
|
||||
|
Reference in New Issue
Block a user