Fix padding mismatches

This commit is contained in:
Dean Herbert
2022-04-20 16:28:52 +09:00
parent 5c7ff363ce
commit e17f224793
2 changed files with 7 additions and 5 deletions

View File

@ -75,9 +75,9 @@ namespace osu.Game.Overlays.Mods
},
new Container
{
Margin = new MarginPadding
Padding = new MarginPadding
{
Vertical = DifficultyMultiplierDisplay.HEIGHT + 10,
Top = DifficultyMultiplierDisplay.HEIGHT + PADDING,
},
Depth = float.MaxValue,
RelativeSizeAxes = Axes.Both,
@ -116,7 +116,7 @@ namespace osu.Game.Overlays.Mods
{
Anchor = Anchor.BottomLeft,
Origin = Anchor.BottomLeft,
Margin = new MarginPadding { Vertical = 14, Left = 70 },
Margin = new MarginPadding { Vertical = PADDING, Left = 70 },
Text = "Mod Customisation",
Active = { BindTarget = customisationVisible }
});