mirror of
https://github.com/ppy/osu
synced 2024-12-24 15:53:37 +00:00
Fix storyboard video playback when not starting at beginning of beatmap
This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user