mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 08:52:55 +08:00
Remove redundant parentheses
This commit is contained in:
parent
4ff5275208
commit
79606317ab
@ -113,7 +113,7 @@ namespace osu.Game.Rulesets.UI
|
|||||||
private bool isAlreadyHit(HitObjectLifetimeEntry h) => h.Result?.HasResult == true;
|
private bool isAlreadyHit(HitObjectLifetimeEntry h) => h.Result?.HasResult == true;
|
||||||
private bool isCloseEnoughToCurrentTime(HitObject h) => getReferenceTime() >= h.StartTime - h.HitWindows.WindowFor(HitResult.Miss) * 2;
|
private bool isCloseEnoughToCurrentTime(HitObject h) => getReferenceTime() >= h.StartTime - h.HitWindows.WindowFor(HitResult.Miss) * 2;
|
||||||
|
|
||||||
private double getReferenceTime() => (gameplayClock?.CurrentTime ?? Clock.CurrentTime);
|
private double getReferenceTime() => gameplayClock?.CurrentTime ?? Clock.CurrentTime;
|
||||||
|
|
||||||
private IEnumerable<HitObject> getAllNested(HitObject hitObject)
|
private IEnumerable<HitObject> getAllNested(HitObject hitObject)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user