1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 15:03:13 +08:00

Add comment regarding usage of Reverse()

Co-authored-by: Dan Balasescu <smoogipoo@smgi.me>
This commit is contained in:
Dean Herbert 2021-03-19 21:57:48 +09:00 committed by GitHub
parent 563a0584d5
commit 71a361337d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -138,6 +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())
{
while (currentConcurrentObjects.TryPeek(out double stackEndTime))