mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 22:22:54 +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)
|
if (stream != null)
|
||||||
{
|
{
|
||||||
InternalChild = video = new VideoSprite(stream)
|
InternalChild = video = new VideoSprite(stream, false)
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
FillMode = FillMode.Fit,
|
FillMode = FillMode.Fit,
|
||||||
|
@ -259,11 +259,18 @@ namespace osu.Game.Screens.Menu
|
|||||||
|
|
||||||
private class LazerLogo : CompositeDrawable
|
private class LazerLogo : CompositeDrawable
|
||||||
{
|
{
|
||||||
|
private readonly Stream videoStream;
|
||||||
|
|
||||||
public LazerLogo(Stream videoStream)
|
public LazerLogo(Stream videoStream)
|
||||||
{
|
{
|
||||||
|
this.videoStream = videoStream;
|
||||||
Size = new Vector2(960);
|
Size = new Vector2(960);
|
||||||
|
}
|
||||||
|
|
||||||
InternalChild = new VideoSprite(videoStream)
|
[BackgroundDependencyLoader]
|
||||||
|
private void load()
|
||||||
|
{
|
||||||
|
InternalChild = new VideoSprite(videoStream, false)
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Clock = new FramedOffsetClock(Clock) { Offset = -logo_1 }
|
Clock = new FramedOffsetClock(Clock) { Offset = -logo_1 }
|
||||||
|
Loading…
Reference in New Issue
Block a user