mirror of
https://github.com/ppy/osu
synced 2024-12-11 17:42:28 +00:00
Add missing centre anchor/origin
This commit is contained in:
parent
cef16a9f61
commit
794f9e5e93
@ -76,6 +76,8 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Nub.Anchor = Anchor.CentreLeft;
|
||||||
|
Nub.Origin = Anchor.CentreLeft;
|
||||||
Nub.Margin = new MarginPadding { Left = nub_padding };
|
Nub.Margin = new MarginPadding { Left = nub_padding };
|
||||||
labelText.Padding = new MarginPadding { Left = Nub.EXPANDED_SIZE + nub_padding * 2 };
|
labelText.Padding = new MarginPadding { Left = Nub.EXPANDED_SIZE + nub_padding * 2 };
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user