mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 16:32:54 +08:00
Adjust comment for readability
This commit is contained in:
parent
e8f7f2c8ab
commit
6f7163769d
@ -180,7 +180,7 @@ namespace osu.Game.Rulesets.Edit
|
||||
var timingPoint = cpi.TimingPointAt(adjustableClock.CurrentTime);
|
||||
if (direction < 0 && timingPoint.Time == adjustableClock.CurrentTime)
|
||||
{
|
||||
// When going backwards, we care about the timing point that was _previously_ active at the current time
|
||||
// When going backwards and we're at the boundary of two timing points, we compute the seek distance with the timing point which we are seeking into
|
||||
int activeIndex = cpi.TimingPoints.IndexOf(timingPoint);
|
||||
while (activeIndex > 0 && adjustableClock.CurrentTime == timingPoint.Time)
|
||||
timingPoint = cpi.TimingPoints[--activeIndex];
|
||||
|
Loading…
Reference in New Issue
Block a user