1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-23 06:59:53 +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
Unverified
parent 563a0584d5
commit 71a361337d
@@ -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))