mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 03:25:11 +08:00
Give TestLounge a background to make transitions work correctly
This commit is contained in:
parent
96100a2200
commit
2697579448
@ -8,6 +8,8 @@ using osu.Framework.Allocation;
|
|||||||
using osu.Game.Beatmaps;
|
using osu.Game.Beatmaps;
|
||||||
using osu.Game.Online.Multiplayer;
|
using osu.Game.Online.Multiplayer;
|
||||||
using osu.Game.Rulesets;
|
using osu.Game.Rulesets;
|
||||||
|
using osu.Game.Screens;
|
||||||
|
using osu.Game.Screens.Backgrounds;
|
||||||
using osu.Game.Screens.Multi.Components;
|
using osu.Game.Screens.Multi.Components;
|
||||||
using osu.Game.Screens.Multi.Screens.Lounge;
|
using osu.Game.Screens.Multi.Screens.Lounge;
|
||||||
using osu.Game.Users;
|
using osu.Game.Users;
|
||||||
@ -198,6 +200,8 @@ namespace osu.Game.Tests.Visual
|
|||||||
|
|
||||||
private class TestLounge : Lounge
|
private class TestLounge : Lounge
|
||||||
{
|
{
|
||||||
|
protected override BackgroundScreen CreateBackground() => new BackgroundScreenDefault();
|
||||||
|
|
||||||
public IEnumerable<DrawableRoom> ChildRooms => RoomsContainer.Children.Where(r => r.MatchingFilter);
|
public IEnumerable<DrawableRoom> ChildRooms => RoomsContainer.Children.Where(r => r.MatchingFilter);
|
||||||
public Room SelectedRoom => Inspector.Room;
|
public Room SelectedRoom => Inspector.Room;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user