mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 09:07:25 +08:00
Fix TournamentSceneManager test
This commit is contained in:
parent
8da448fca7
commit
a7fcec8d97
@ -10,7 +10,6 @@ using osu.Framework.Graphics.Shapes;
|
|||||||
using osu.Framework.Graphics.Video;
|
using osu.Framework.Graphics.Video;
|
||||||
using osu.Framework.Platform;
|
using osu.Framework.Platform;
|
||||||
using osu.Game.Graphics.UserInterface;
|
using osu.Game.Graphics.UserInterface;
|
||||||
using osu.Game.Screens;
|
|
||||||
using osu.Game.Tournament.Components;
|
using osu.Game.Tournament.Components;
|
||||||
using osu.Game.Tournament.Screens.Drawings;
|
using osu.Game.Tournament.Screens.Drawings;
|
||||||
using osu.Game.Tournament.Screens.Gameplay;
|
using osu.Game.Tournament.Screens.Gameplay;
|
||||||
@ -27,7 +26,7 @@ using osuTK.Graphics;
|
|||||||
namespace osu.Game.Tournament.Screens
|
namespace osu.Game.Tournament.Screens
|
||||||
{
|
{
|
||||||
[Cached]
|
[Cached]
|
||||||
public class TournamentSceneManager : OsuScreen
|
public class TournamentSceneManager : CompositeDrawable
|
||||||
{
|
{
|
||||||
private Container screens;
|
private Container screens;
|
||||||
private VideoSprite video;
|
private VideoSprite video;
|
||||||
@ -37,6 +36,11 @@ namespace osu.Game.Tournament.Screens
|
|||||||
|
|
||||||
private Container chatContainer;
|
private Container chatContainer;
|
||||||
|
|
||||||
|
public TournamentSceneManager()
|
||||||
|
{
|
||||||
|
RelativeSizeAxes = Axes.Both;
|
||||||
|
}
|
||||||
|
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load(LadderInfo ladder, Storage storage)
|
private void load(LadderInfo ladder, Storage storage)
|
||||||
{
|
{
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
|
|
||||||
using osu.Framework.Graphics;
|
using osu.Framework.Graphics;
|
||||||
using osu.Framework.Graphics.Sprites;
|
using osu.Framework.Graphics.Sprites;
|
||||||
using osu.Framework.Screens;
|
|
||||||
using osu.Game.Graphics;
|
using osu.Game.Graphics;
|
||||||
using osu.Game.Graphics.Cursor;
|
using osu.Game.Graphics.Cursor;
|
||||||
using osu.Game.Tournament.Screens;
|
using osu.Game.Tournament.Screens;
|
||||||
@ -19,7 +18,7 @@ namespace osu.Game.Tournament
|
|||||||
Add(new OsuContextMenuContainer
|
Add(new OsuContextMenuContainer
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Child = new ScreenStack(new TournamentSceneManager()) { RelativeSizeAxes = Axes.Both }
|
Child = new TournamentSceneManager()
|
||||||
});
|
});
|
||||||
|
|
||||||
MenuCursorContainer.Cursor.Alpha = 0;
|
MenuCursorContainer.Cursor.Alpha = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user