1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 09:32:55 +08:00

move anchor and origin so metadata doesn't move if it's partially empty

This commit is contained in:
Aergwyn 2017-12-26 11:34:26 +01:00
parent 49e855a29a
commit 44fbe7859a

View File

@ -154,9 +154,10 @@ namespace osu.Game.Screens.Select
},
new FillFlowContainer
{
Name = "Bottom-aligned metadata",
Anchor = Anchor.BottomLeft,
Origin = Anchor.BottomLeft,
Name = "Centre-aligned metadata",
Anchor = Anchor.CentreLeft,
Origin = Anchor.TopLeft,
Y = -22,
Direction = FillDirection.Vertical,
Margin = new MarginPadding { Top = 15, Left = 25, Right = 10, Bottom = 20 },
AutoSizeAxes = Axes.Both,