Fix list overflowing subscreen background

This commit is contained in:
smoogipoo 2021-10-22 22:17:26 +09:00
parent a4397ee68c
commit 04b0529a7f

View File

@ -133,13 +133,6 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
{ {
new Drawable[] { new OverlinedHeader("Beatmap") }, new Drawable[] { new OverlinedHeader("Beatmap") },
new Drawable[] new Drawable[]
{
new FillFlowContainer
{
RelativeSizeAxes = Axes.Both,
Direction = FillDirection.Vertical,
Spacing = new Vector2(5),
Children = new Drawable[]
{ {
addOrEditPlaylistButton = new PurpleTriangleButton addOrEditPlaylistButton = new PurpleTriangleButton
{ {
@ -152,14 +145,16 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
}, },
Alpha = 0 Alpha = 0
}, },
},
null,
new Drawable[]
{
new DrawableRoomPlaylist(false, false) new DrawableRoomPlaylist(false, false)
{ {
RelativeSizeAxes = Axes.Both, RelativeSizeAxes = Axes.Both,
Items = { BindTarget = Room.Playlist }, Items = { BindTarget = Room.Playlist },
SelectedItem = { BindTarget = SelectedItem } SelectedItem = { BindTarget = SelectedItem }
}, },
}
}
}, },
new[] new[]
{ {
@ -203,6 +198,8 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
RowDimensions = new[] RowDimensions = new[]
{ {
new Dimension(GridSizeMode.AutoSize), new Dimension(GridSizeMode.AutoSize),
new Dimension(GridSizeMode.AutoSize),
new Dimension(GridSizeMode.Absolute, 5),
new Dimension(), new Dimension(),
new Dimension(GridSizeMode.AutoSize), new Dimension(GridSizeMode.AutoSize),
} }