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

Fix rooms scroll container not masking properly due to padding

This commit is contained in:
Salman Ahmed 2021-08-19 05:09:49 +03:00
parent ffbe8ddfa4
commit 0e2f3dff4d

View File

@ -86,20 +86,24 @@ namespace osu.Game.Screens.OnlinePlay.Lounge
InternalChildren = new Drawable[]
{
ListingPollingComponent = CreatePollingComponent().With(c => c.Filter.BindTarget = filter),
scrollContainer = new OsuScrollContainer
new Container
{
Name = @"Scrollable rooms container",
Name = @"Rooms area",
RelativeSizeAxes = Axes.Both,
Padding = new MarginPadding
{
Horizontal = WaveOverlayContainer.WIDTH_PADDING,
Top = Header.HEIGHT + controls_area_height + 20,
},
ScrollbarOverlapsContent = false,
Child = roomsContainer = new RoomsContainer
Child = scrollContainer = new OsuScrollContainer
{
Filter = { BindTarget = filter }
}
RelativeSizeAxes = Axes.Both,
ScrollbarOverlapsContent = false,
Child = roomsContainer = new RoomsContainer
{
Filter = { BindTarget = filter }
}
},
},
loadingLayer = new LoadingLayer(true),
new FillFlowContainer