1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-26 06:09:53 +08:00

Align background wedge with carousel

This commit is contained in:
Dean Herbert
2020-01-24 15:00:10 +09:00
Unverified
parent f8cb898516
commit c0a233e8bb
+18 -3
View File
@@ -105,11 +105,26 @@ namespace osu.Game.Screens.Select
RelativeSizeAxes = Axes.Both,
Children = new[]
{
new WedgeBackground
new GridContainer // used for max width implementation
{
RelativeSizeAxes = Axes.Both,
Padding = new MarginPadding { Right = -150 },
Size = new Vector2(0.5f, 1),
ColumnDimensions = new[]
{
new Dimension(),
new Dimension(GridSizeMode.Relative, 0.5f, maxSize: 850),
},
Content = new[]
{
new Drawable[]
{
new WedgeBackground
{
RelativeSizeAxes = Axes.Both,
Padding = new MarginPadding { Right = -150 },
},
null
}
}
}
}
},