Add missing centre anchor/origin

This commit is contained in:
Dean Herbert 2021-02-04 22:53:41 +09:00
parent cef16a9f61
commit 794f9e5e93

View File

@ -76,6 +76,8 @@ namespace osu.Game.Graphics.UserInterface
}
else
{
Nub.Anchor = Anchor.CentreLeft;
Nub.Origin = Anchor.CentreLeft;
Nub.Margin = new MarginPadding { Left = nub_padding };
labelText.Padding = new MarginPadding { Left = Nub.EXPANDED_SIZE + nub_padding * 2 };
}