1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 14:12:54 +08:00

Merge pull request #9475 from peppy/lounge-remove-search-container

Remove unused search container in lounge
This commit is contained in:
Dan Balasescu 2020-07-09 18:25:43 +09:00 committed by GitHub
commit 0f91e41764
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,7 +34,7 @@ namespace osu.Game.Screens.Multi.Lounge
public LoungeSubScreen()
{
SearchContainer searchContainer;
RoomsContainer roomsContainer;
InternalChildren = new Drawable[]
{
@ -55,14 +55,9 @@ namespace osu.Game.Screens.Multi.Lounge
RelativeSizeAxes = Axes.Both,
ScrollbarOverlapsContent = false,
Padding = new MarginPadding(10),
Child = searchContainer = new SearchContainer
{
RelativeSizeAxes = Axes.X,
AutoSizeAxes = Axes.Y,
Child = new RoomsContainer { JoinRequested = joinRequested }
},
Child = roomsContainer = new RoomsContainer { JoinRequested = joinRequested }
},
loadingLayer = new LoadingLayer(searchContainer),
loadingLayer = new LoadingLayer(roomsContainer),
}
},
new RoomInspector