1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

Apply osu!-side video sprite changes

This commit is contained in:
smoogipoo 2020-03-11 18:00:39 +09:00
parent 42bc8bc50d
commit 8eb8572c73
2 changed files with 9 additions and 2 deletions

View File

@ -34,7 +34,7 @@ namespace osu.Game.Tournament.Components
if (stream != null)
{
InternalChild = video = new VideoSprite(stream)
InternalChild = video = new VideoSprite(stream, false)
{
RelativeSizeAxes = Axes.Both,
FillMode = FillMode.Fit,

View File

@ -259,11 +259,18 @@ namespace osu.Game.Screens.Menu
private class LazerLogo : CompositeDrawable
{
private readonly Stream videoStream;
public LazerLogo(Stream videoStream)
{
this.videoStream = videoStream;
Size = new Vector2(960);
}
InternalChild = new VideoSprite(videoStream)
[BackgroundDependencyLoader]
private void load()
{
InternalChild = new VideoSprite(videoStream, false)
{
RelativeSizeAxes = Axes.Both,
Clock = new FramedOffsetClock(Clock) { Offset = -logo_1 }