mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 13:33:03 +08:00
Fix rooms scroll container not masking properly due to padding
This commit is contained in:
parent
ffbe8ddfa4
commit
0e2f3dff4d
@ -86,20 +86,24 @@ namespace osu.Game.Screens.OnlinePlay.Lounge
|
|||||||
InternalChildren = new Drawable[]
|
InternalChildren = new Drawable[]
|
||||||
{
|
{
|
||||||
ListingPollingComponent = CreatePollingComponent().With(c => c.Filter.BindTarget = filter),
|
ListingPollingComponent = CreatePollingComponent().With(c => c.Filter.BindTarget = filter),
|
||||||
scrollContainer = new OsuScrollContainer
|
new Container
|
||||||
{
|
{
|
||||||
Name = @"Scrollable rooms container",
|
Name = @"Rooms area",
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Padding = new MarginPadding
|
Padding = new MarginPadding
|
||||||
{
|
{
|
||||||
Horizontal = WaveOverlayContainer.WIDTH_PADDING,
|
Horizontal = WaveOverlayContainer.WIDTH_PADDING,
|
||||||
Top = Header.HEIGHT + controls_area_height + 20,
|
Top = Header.HEIGHT + controls_area_height + 20,
|
||||||
},
|
},
|
||||||
ScrollbarOverlapsContent = false,
|
Child = scrollContainer = new OsuScrollContainer
|
||||||
Child = roomsContainer = new RoomsContainer
|
|
||||||
{
|
{
|
||||||
Filter = { BindTarget = filter }
|
RelativeSizeAxes = Axes.Both,
|
||||||
}
|
ScrollbarOverlapsContent = false,
|
||||||
|
Child = roomsContainer = new RoomsContainer
|
||||||
|
{
|
||||||
|
Filter = { BindTarget = filter }
|
||||||
|
}
|
||||||
|
},
|
||||||
},
|
},
|
||||||
loadingLayer = new LoadingLayer(true),
|
loadingLayer = new LoadingLayer(true),
|
||||||
new FillFlowContainer
|
new FillFlowContainer
|
||||||
|
Loading…
Reference in New Issue
Block a user