1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-07 06:23:39 +08:00

Fix storyboard video playback when not starting at beginning of beatmap

This commit is contained in:
Dean Herbert
2020-07-16 14:25:45 +09:00
Unverified
parent f0fa859609
commit 0a1e6a8273
@@ -55,10 +55,11 @@ namespace osu.Game.Storyboards.Drawables
if (video == null) return;
video.PlaybackPosition = Clock.CurrentTime - Video.StartTime;
using (video.BeginAbsoluteSequence(0))
using (video.BeginAbsoluteSequence(Video.StartTime))
{
Schedule(() => video.PlaybackPosition = Time.Current - Video.StartTime);
video.FadeIn(500);
}
}
}
}