mirror of
https://github.com/osukey/osukey.git
synced 2025-06-05 12:57:39 +09:00
Fix list overflowing subscreen background
This commit is contained in:
parent
a4397ee68c
commit
04b0529a7f
@ -134,32 +134,27 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer
|
|||||||
new Drawable[] { new OverlinedHeader("Beatmap") },
|
new Drawable[] { new OverlinedHeader("Beatmap") },
|
||||||
new Drawable[]
|
new Drawable[]
|
||||||
{
|
{
|
||||||
new FillFlowContainer
|
addOrEditPlaylistButton = new PurpleTriangleButton
|
||||||
|
{
|
||||||
|
RelativeSizeAxes = Axes.X,
|
||||||
|
Height = 40,
|
||||||
|
Action = () =>
|
||||||
|
{
|
||||||
|
if (this.IsCurrentScreen())
|
||||||
|
this.Push(new MultiplayerMatchSongSelect(Room));
|
||||||
|
},
|
||||||
|
Alpha = 0
|
||||||
|
},
|
||||||
|
},
|
||||||
|
null,
|
||||||
|
new Drawable[]
|
||||||
|
{
|
||||||
|
new DrawableRoomPlaylist(false, false)
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Direction = FillDirection.Vertical,
|
Items = { BindTarget = Room.Playlist },
|
||||||
Spacing = new Vector2(5),
|
SelectedItem = { BindTarget = SelectedItem }
|
||||||
Children = new Drawable[]
|
},
|
||||||
{
|
|
||||||
addOrEditPlaylistButton = new PurpleTriangleButton
|
|
||||||
{
|
|
||||||
RelativeSizeAxes = Axes.X,
|
|
||||||
Height = 40,
|
|
||||||
Action = () =>
|
|
||||||
{
|
|
||||||
if (this.IsCurrentScreen())
|
|
||||||
this.Push(new MultiplayerMatchSongSelect(Room));
|
|
||||||
},
|
|
||||||
Alpha = 0
|
|
||||||
},
|
|
||||||
new DrawableRoomPlaylist(false, false)
|
|
||||||
{
|
|
||||||
RelativeSizeAxes = Axes.Both,
|
|
||||||
Items = { BindTarget = Room.Playlist },
|
|
||||||
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),
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user