mirror of
https://github.com/ppy/osu
synced 2024-12-12 09:58:22 +00:00
Enable current distance snap when exactly on a hit object
This commit is contained in:
parent
5c066c40b1
commit
cf5211aec9
@ -93,7 +93,7 @@ namespace osu.Game.Rulesets.Edit
|
||||
|
||||
private (HitObject before, HitObject after)? getObjectsOnEitherSideOfCurrentTime()
|
||||
{
|
||||
HitObject lastBefore = Playfield.HitObjectContainer.AliveObjects.LastOrDefault(h => h.HitObject.StartTime <= EditorClock.CurrentTime)?.HitObject;
|
||||
HitObject lastBefore = Playfield.HitObjectContainer.AliveObjects.LastOrDefault(h => h.HitObject.StartTime < EditorClock.CurrentTime)?.HitObject;
|
||||
|
||||
if (lastBefore == null)
|
||||
return null;
|
||||
|
Loading…
Reference in New Issue
Block a user