1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 04:02:59 +08:00

Move footer button padding to a higher level

This commit is contained in:
Bartłomiej Dach 2022-05-06 15:59:19 +02:00
parent dd63657dfb
commit 0c6de331f3
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497

View File

@ -145,13 +145,18 @@ namespace osu.Game.Overlays.Mods
});
}
FooterContent.Padding = new MarginPadding
{
Vertical = PADDING,
Horizontal = 70
};
if (AllowCustomisation)
{
Footer.Add(new ShearedToggleButton(200)
FooterContent.Add(new ShearedToggleButton(200)
{
Anchor = Anchor.BottomLeft,
Origin = Anchor.BottomLeft,
Margin = new MarginPadding { Vertical = PADDING, Left = 70 },
Text = "Mod Customisation",
Active = { BindTarget = customisationVisible }
});