mirror of
https://github.com/ppy/osu
synced 2024-12-17 04:15:37 +00:00
Stabilise ordering instead of simple reversing
Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
This commit is contained in:
parent
71a361337d
commit
7b3336783f
@ -138,8 +138,7 @@ namespace osu.Game.Screens.Edit.Compose.Components.Timeline
|
||||
|
||||
Stack<double> currentConcurrentObjects = new Stack<double>();
|
||||
|
||||
// Reversing is done to enumerate in order of increasing StartTime.
|
||||
foreach (var b in SelectionBlueprints.Reverse())
|
||||
foreach (var b in SelectionBlueprints.OrderBy(b => b.HitObject.StartTime).ThenBy(b => b.HitObject.GetEndTime()))
|
||||
{
|
||||
while (currentConcurrentObjects.TryPeek(out double stackEndTime))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user