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

Remove unnecessary container

This commit is contained in:
Joseph Madamba 2023-06-25 12:15:03 -07:00
parent 4582faee79
commit 671f84e32b
No known key found for this signature in database
GPG Key ID: 8B746C7BDDF0BD76

View File

@ -124,21 +124,13 @@ namespace osu.Game.Overlays.Login
Spacing = new Vector2(0f, 10f),
Children = new Drawable[]
{
new Container
new OsuSpriteText
{
RelativeSizeAxes = Axes.X,
AutoSizeAxes = Axes.Y,
Children = new[]
{
new OsuSpriteText
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
Text = LoginPanelStrings.SignedIn,
Font = OsuFont.GetFont(size: 18, weight: FontWeight.Bold),
Margin = new MarginPadding { Top = 5, Bottom = 5 },
},
},
Anchor = Anchor.TopCentre,
Origin = Anchor.TopCentre,
Text = LoginPanelStrings.SignedIn,
Font = OsuFont.GetFont(size: 18, weight: FontWeight.Bold),
Margin = new MarginPadding { Top = 5, Bottom = 5 },
},
panel = new UserGridPanel(api.LocalUser.Value)
{