1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-31 08:23:22 +08:00

Forgot subtraction

This commit is contained in:
TaterToes 2024-10-17 17:01:42 -04:00 committed by GitHub
parent 3fe0791298
commit 45dd9b1167
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1106,7 +1106,7 @@ namespace osu.Game.Screens.Edit
}
var found = direction < 1
? editorBeatmap.ControlPointInfo.AllControlPoints.LastOrDefault(p => p.Time < clock.CurrentTime)
? editorBeatmap.ControlPointInfo.AllControlPoints.LastOrDefault(p => p.Time < clock.CurrentTime - seekMargin)
: editorBeatmap.ControlPointInfo.AllControlPoints.FirstOrDefault(p => p.Time > clock.CurrentTime);
if (found != null)