Merge branch 'master' into fix-transparent-player-background

This commit is contained in:
Bartłomiej Dach 2023-08-03 00:41:42 +02:00 committed by GitHub
commit f48b1ebdbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -124,7 +124,7 @@ namespace osu.Game.Beatmaps
{ {
base.Update(); base.Update();
if (Source != null && Source is not IAdjustableClock && Source.CurrentTime < decoupledClock.CurrentTime) if (Source != null && Source is not IAdjustableClock && Source.CurrentTime < decoupledClock.CurrentTime - 100)
{ {
// InterpolatingFramedClock won't interpolate backwards unless its source has an ElapsedFrameTime. // InterpolatingFramedClock won't interpolate backwards unless its source has an ElapsedFrameTime.
// See https://github.com/ppy/osu-framework/blob/ba1385330cc501f34937e08257e586c84e35d772/osu.Framework/Timing/InterpolatingFramedClock.cs#L91-L93 // See https://github.com/ppy/osu-framework/blob/ba1385330cc501f34937e08257e586c84e35d772/osu.Framework/Timing/InterpolatingFramedClock.cs#L91-L93