mirror of https://github.com/ppy/osu
Fix inspections
This commit is contained in:
parent
4c744ccb69
commit
9a46e738bd
|
@ -132,7 +132,7 @@ public void AttachToToolbox(ExpandingToolboxContainer toolboxContainer)
|
||||||
if (objTime >= editorClock.CurrentTime)
|
if (objTime >= editorClock.CurrentTime)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (lastBefore == null || objTime > lastBefore?.StartTime)
|
if (lastBefore == null || objTime > lastBefore.StartTime)
|
||||||
lastBefore = entry.Value.HitObject;
|
lastBefore = entry.Value.HitObject;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -148,7 +148,7 @@ public void AttachToToolbox(ExpandingToolboxContainer toolboxContainer)
|
||||||
if (objTime < editorClock.CurrentTime)
|
if (objTime < editorClock.CurrentTime)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (firstAfter == null || objTime < firstAfter?.StartTime)
|
if (firstAfter == null || objTime < firstAfter.StartTime)
|
||||||
firstAfter = entry.Value.HitObject;
|
firstAfter = entry.Value.HitObject;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue