Enable more stringent inspectcode style inspections

This commit is contained in:
Dean Herbert
2019-02-27 21:07:17 +09:00
parent 861d5eeb65
commit c8793911a8
15 changed files with 93 additions and 17 deletions

View File

@ -35,7 +35,11 @@ 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;
@ -94,7 +98,7 @@ namespace osu.Game.Screens.Play
{
Alpha = 0,
Anchor = Anchor.BottomLeft,
Origin = Anchor.BottomLeft,
Origin = Anchor.BottomLeft,
OnSeek = position => OnSeek?.Invoke(position),
},
};
@ -117,10 +121,7 @@ namespace osu.Game.Screens.Play
public bool AllowSeeking
{
get
{
return allowSeeking;
}
get { return allowSeeking; }
set
{