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:
parent
42bc8bc50d
commit
8eb8572c73
@ -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,
|
||||
|
@ -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 }
|
||||
|
Loading…
Reference in New Issue
Block a user