mirror of
https://github.com/osukey/osukey.git
synced 2025-08-07 00:23:59 +09:00
Fix not being able to scroll before the first timing point
This commit is contained in:
@ -243,7 +243,7 @@ namespace osu.Game.Rulesets.Edit
|
|||||||
seekTime = timingPoint.Time + closestBeat * seekAmount;
|
seekTime = timingPoint.Time + closestBeat * seekAmount;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (seekTime < timingPoint.Time)
|
if (seekTime < timingPoint.Time && timingPoint != cpi.TimingPoints.First())
|
||||||
seekTime = timingPoint.Time;
|
seekTime = timingPoint.Time;
|
||||||
|
|
||||||
var nextTimingPoint = cpi.TimingPoints.FirstOrDefault(t => t.Time > timingPoint.Time);
|
var nextTimingPoint = cpi.TimingPoints.FirstOrDefault(t => t.Time > timingPoint.Time);
|
||||||
|
Reference in New Issue
Block a user