1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 09:22:54 +08:00

Update to work with latest framework

This commit is contained in:
DrabWeb 2017-03-04 22:38:01 -04:00
parent 9cde20ffc7
commit 5719c6656a

View File

@ -157,14 +157,12 @@ namespace osu.Game.Screens.Select.Leaderboards
Origin = Anchor.BottomLeft, Origin = Anchor.BottomLeft,
Anchor = Anchor.BottomLeft, Anchor = Anchor.BottomLeft,
AutoSizeAxes = Axes.Both, AutoSizeAxes = Axes.Both,
Direction = FillDirection.Right, Direction = FillDirection.Horizontal,
Spacing = new Vector2(10f, 0f), Spacing = new Vector2(10f, 0f),
Children = new Drawable[] Children = new Drawable[]
{ {
new Container new Container
{ {
Origin = Anchor.BottomLeft,
Anchor = Anchor.BottomLeft,
Size = new Vector2(87f, 20f), Size = new Vector2(87f, 20f),
Masking = true, Masking = true,
Children = new Drawable[] Children = new Drawable[]
@ -186,7 +184,7 @@ namespace osu.Game.Screens.Select.Leaderboards
new FillFlowContainer new FillFlowContainer
{ {
AutoSizeAxes = Axes.Both, AutoSizeAxes = Axes.Both,
Direction = FillDirection.Right, Direction = FillDirection.Horizontal,
Spacing = new Vector2(10f, 0f), Spacing = new Vector2(10f, 0f),
Margin = new MarginPadding { Left = 10, }, Margin = new MarginPadding { Left = 10, },
Children = new Drawable[] Children = new Drawable[]
@ -218,7 +216,7 @@ namespace osu.Game.Screens.Select.Leaderboards
AutoSizeAxes = Axes.Both, AutoSizeAxes = Axes.Both,
// TODO: Probably remove? Seems like others don't like this kind of thing // TODO: Probably remove? Seems like others don't like this kind of thing
Position = new Vector2(0f, 4f), //properly align the mod icons Position = new Vector2(0f, 4f), //properly align the mod icons
Direction = FillDirection.Left, Direction = FillDirection.Horizontal,
}, },
}, },
}, },