mirror of
https://github.com/ppy/osu
synced 2025-01-05 13:50:03 +00:00
Fix not being able to scroll before the first timing point
This commit is contained in:
parent
9e0aeec574
commit
c937ef5d24
@ -243,7 +243,7 @@ namespace osu.Game.Rulesets.Edit
|
||||
seekTime = timingPoint.Time + closestBeat * seekAmount;
|
||||
}
|
||||
|
||||
if (seekTime < timingPoint.Time)
|
||||
if (seekTime < timingPoint.Time && timingPoint != cpi.TimingPoints.First())
|
||||
seekTime = timingPoint.Time;
|
||||
|
||||
var nextTimingPoint = cpi.TimingPoints.FirstOrDefault(t => t.Time > timingPoint.Time);
|
||||
|
Loading…
Reference in New Issue
Block a user