mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 08:52:55 +08:00
Remove unnecessary container
This commit is contained in:
parent
4582faee79
commit
671f84e32b
@ -124,21 +124,13 @@ namespace osu.Game.Overlays.Login
|
|||||||
Spacing = new Vector2(0f, 10f),
|
Spacing = new Vector2(0f, 10f),
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
new Container
|
new OsuSpriteText
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.X,
|
Anchor = Anchor.TopCentre,
|
||||||
AutoSizeAxes = Axes.Y,
|
Origin = Anchor.TopCentre,
|
||||||
Children = new[]
|
Text = LoginPanelStrings.SignedIn,
|
||||||
{
|
Font = OsuFont.GetFont(size: 18, weight: FontWeight.Bold),
|
||||||
new OsuSpriteText
|
Margin = new MarginPadding { Top = 5, Bottom = 5 },
|
||||||
{
|
|
||||||
Anchor = Anchor.Centre,
|
|
||||||
Origin = Anchor.Centre,
|
|
||||||
Text = LoginPanelStrings.SignedIn,
|
|
||||||
Font = OsuFont.GetFont(size: 18, weight: FontWeight.Bold),
|
|
||||||
Margin = new MarginPadding { Top = 5, Bottom = 5 },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
panel = new UserGridPanel(api.LocalUser.Value)
|
panel = new UserGridPanel(api.LocalUser.Value)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user