mirror of
https://github.com/osukey/osukey.git
synced 2025-08-07 00:23:59 +09:00
Use minimum start time to handle SelectedHitObjects not being sorted
This commit is contained in:
@ -454,7 +454,7 @@ namespace osu.Game.Screens.Edit
|
|||||||
|
|
||||||
Debug.Assert(objects.Any());
|
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)
|
foreach (var h in objects)
|
||||||
h.StartTime += timeOffset;
|
h.StartTime += timeOffset;
|
||||||
|
Reference in New Issue
Block a user