1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-13 08:32:57 +08:00

Fix storyboard videos being offset incorrectly

This commit is contained in:
Dean Herbert 2020-04-07 00:26:38 +09:00
parent e610b5e5b7
commit b7308f5ed4

View File

@ -46,7 +46,6 @@ namespace osu.Game.Storyboards.Drawables
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
Alpha = 0,
PlaybackPosition = Video.StartTime
};
}
@ -56,6 +55,8 @@ namespace osu.Game.Storyboards.Drawables
if (video == null) return;
video.PlaybackPosition = Clock.CurrentTime - Video.StartTime;
using (video.BeginAbsoluteSequence(0))
video.FadeIn(500);
}