mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 07:22:54 +08:00
Name some screen stacks for better logging context
This commit is contained in:
parent
1533aefce5
commit
6907a9a3cc
@ -49,7 +49,11 @@ namespace osu.Game.Tests.Visual
|
|||||||
InternalChildren = new Drawable[]
|
InternalChildren = new Drawable[]
|
||||||
{
|
{
|
||||||
Client = new TestMultiplayerClient(RoomManager),
|
Client = new TestMultiplayerClient(RoomManager),
|
||||||
screenStack = new OsuScreenStack { RelativeSizeAxes = Axes.Both }
|
screenStack = new OsuScreenStack
|
||||||
|
{
|
||||||
|
Name = nameof(TestMultiplayerScreenStack),
|
||||||
|
RelativeSizeAxes = Axes.Both
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
screenStack.Push(multiplayerScreen);
|
screenStack.Push(multiplayerScreen);
|
||||||
|
@ -87,7 +87,10 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer.Spectate
|
|||||||
gameplayContent.Child = new PlayerIsolationContainer(beatmapManager.GetWorkingBeatmap(Score.ScoreInfo.BeatmapInfo), Score.ScoreInfo.Ruleset, Score.ScoreInfo.Mods)
|
gameplayContent.Child = new PlayerIsolationContainer(beatmapManager.GetWorkingBeatmap(Score.ScoreInfo.BeatmapInfo), Score.ScoreInfo.Ruleset, Score.ScoreInfo.Mods)
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Child = stack = new OsuScreenStack()
|
Child = stack = new OsuScreenStack
|
||||||
|
{
|
||||||
|
Name = nameof(PlayerArea),
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
stack.Push(new MultiSpectatorPlayerLoader(Score, () => new MultiSpectatorPlayer(Score, GameplayClock)));
|
stack.Push(new MultiSpectatorPlayerLoader(Score, () => new MultiSpectatorPlayer(Score, GameplayClock)));
|
||||||
|
@ -29,7 +29,11 @@ namespace osu.Game.Tests.Visual
|
|||||||
{
|
{
|
||||||
base.Content.AddRange(new Drawable[]
|
base.Content.AddRange(new Drawable[]
|
||||||
{
|
{
|
||||||
Stack = new OsuScreenStack { RelativeSizeAxes = Axes.Both },
|
Stack = new OsuScreenStack
|
||||||
|
{
|
||||||
|
Name = nameof(ScreenTestScene),
|
||||||
|
RelativeSizeAxes = Axes.Both
|
||||||
|
},
|
||||||
content = new Container { RelativeSizeAxes = Axes.Both },
|
content = new Container { RelativeSizeAxes = Axes.Both },
|
||||||
DialogOverlay = new DialogOverlay()
|
DialogOverlay = new DialogOverlay()
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user