mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 22:27:25 +08:00
Merge pull request #22806 from peppy/fix-video-fade-out
Fix storyboard videos not fading out on completion
This commit is contained in:
commit
6d94b08415
@ -58,7 +58,11 @@ namespace osu.Game.Storyboards.Drawables
|
||||
using (drawableVideo.BeginAbsoluteSequence(Video.StartTime))
|
||||
{
|
||||
Schedule(() => drawableVideo.PlaybackPosition = Time.Current - Video.StartTime);
|
||||
|
||||
drawableVideo.FadeIn(500);
|
||||
|
||||
using (drawableVideo.BeginDelayedSequence(drawableVideo.Duration - 500))
|
||||
drawableVideo.FadeOut(500);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user