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

Fix weird margins on loading display in lounge

This commit is contained in:
Dean Herbert 2021-08-13 14:27:28 +09:00
parent 80d06a7e37
commit 89eded457c

View File

@ -63,6 +63,8 @@ namespace osu.Game.Screens.OnlinePlay.Lounge
{ {
OsuScrollContainer scrollContainer; OsuScrollContainer scrollContainer;
Container filterContainer;
InternalChildren = new Drawable[] InternalChildren = new Drawable[]
{ {
new Box new Box
@ -93,7 +95,7 @@ namespace osu.Game.Screens.OnlinePlay.Lounge
{ {
new Drawable[] new Drawable[]
{ {
new Container filterContainer = new Container
{ {
RelativeSizeAxes = Axes.X, RelativeSizeAxes = Axes.X,
Height = 70, Height = 70,
@ -123,13 +125,14 @@ namespace osu.Game.Screens.OnlinePlay.Lounge
ScrollbarOverlapsContent = false, ScrollbarOverlapsContent = false,
Child = roomsContainer = new RoomsContainer() Child = roomsContainer = new RoomsContainer()
}, },
loadingLayer = new LoadingLayer(true),
} }
}, },
} }
} }
}, },
} },
loadingLayer = new LoadingLayer(true),
filterContainer.CreateProxy()
}; };
// scroll selected room into view on selection. // scroll selected room into view on selection.