1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 07:33:20 +08:00

Use anchor instead of FillFlowContainer

This commit is contained in:
Joseph Madamba 2023-06-13 00:09:58 -07:00
parent a5c3c9a93f
commit 0adb399ea8
No known key found for this signature in database
GPG Key ID: 8B746C7BDDF0BD76

View File

@ -103,25 +103,19 @@ namespace osu.Game.Screens.OnlinePlay.Lounge.Components
CornerRadius = CORNER_RADIUS,
Children = new Drawable[]
{
new FillFlowContainer
new Box
{
RelativeSizeAxes = Axes.Both,
Direction = FillDirection.Horizontal,
Children = new Drawable[]
{
new Box
{
RelativeSizeAxes = Axes.Both,
Colour = colours.Background5,
Width = 0.2f,
},
new Box
{
RelativeSizeAxes = Axes.Both,
Colour = ColourInfo.GradientHorizontal(colours.Background5, colours.Background5.Opacity(0.3f)),
Width = 0.8f,
},
},
Colour = colours.Background5,
Width = 0.2f,
},
new Box
{
Anchor = Anchor.TopRight,
Origin = Anchor.TopRight,
RelativeSizeAxes = Axes.Both,
Colour = ColourInfo.GradientHorizontal(colours.Background5, colours.Background5.Opacity(0.3f)),
Width = 0.8f,
},
new Container
{