mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 03:22:55 +08:00
Add explanatory comment
This commit is contained in:
parent
a8286bdf04
commit
c178e5d592
@ -130,6 +130,8 @@ namespace osu.Game.Screens.Edit
|
||||
removedIndices.Sort();
|
||||
addedIndices.Sort();
|
||||
|
||||
// The expected usage of this returned list is to iterate from the start to the end of the list, such that
|
||||
// these indices need to appear in reverse order for the usage to not have to deal with decrementing indices.
|
||||
removedIndices.Reverse();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user