mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 21:03:08 +08:00
Add comment.
This commit is contained in:
parent
2d1df8fd8a
commit
41824e0179
@ -100,6 +100,8 @@ namespace osu.Game.Beatmaps.ControlPoints
|
||||
|
||||
index = ~index;
|
||||
|
||||
// BinarySearch will return the index of the first element _greater_ than the search
|
||||
// This is the inactive point - the active point is the one before it (index - 1)
|
||||
return list[index - 1];
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user