mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 19:22:54 +08:00
Use minimum start time to handle SelectedHitObjects not being sorted
This commit is contained in:
parent
c573392bb2
commit
320e314356
@ -454,7 +454,7 @@ namespace osu.Game.Screens.Edit
|
||||
|
||||
Debug.Assert(objects.Any());
|
||||
|
||||
double timeOffset = clock.CurrentTime - objects.First().StartTime;
|
||||
double timeOffset = clock.CurrentTime - objects.Min(o => o.StartTime);
|
||||
|
||||
foreach (var h in objects)
|
||||
h.StartTime += timeOffset;
|
||||
|
Loading…
Reference in New Issue
Block a user