mirror of
https://github.com/ppy/osu.git
synced 2024-12-13 03:42:57 +08:00
Move team seed to below team name
This commit is contained in:
parent
e76a5f9419
commit
87c9df937f
@ -22,6 +22,12 @@ namespace osu.Game.Tournament.Components
|
||||
[Resolved]
|
||||
private LadderInfo ladder { get; set; } = null!;
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
{
|
||||
Text.Font = Text.Font.With(size: 36);
|
||||
}
|
||||
|
||||
protected override void LoadComplete()
|
||||
{
|
||||
base.LoadComplete();
|
||||
|
@ -29,7 +29,7 @@ namespace osu.Game.Tournament.Components
|
||||
{
|
||||
Colour = TournamentGame.ELEMENT_FOREGROUND_COLOUR,
|
||||
Font = OsuFont.Torus.With(weight: FontWeight.SemiBold, size: 50),
|
||||
Padding = new MarginPadding { Horizontal = 10 },
|
||||
Padding = new MarginPadding { Left = 10, Right = 20 },
|
||||
Text = text,
|
||||
}
|
||||
};
|
||||
|
@ -95,28 +95,17 @@ namespace osu.Game.Tournament.Screens.Gameplay.Components
|
||||
}
|
||||
}
|
||||
},
|
||||
new FillFlowContainer
|
||||
teamNameText = new TournamentSpriteTextWithBackground
|
||||
{
|
||||
AutoSizeAxes = Axes.Both,
|
||||
Direction = FillDirection.Horizontal,
|
||||
Spacing = new Vector2(5),
|
||||
Scale = new Vector2(0.5f),
|
||||
Origin = anchor,
|
||||
Anchor = anchor,
|
||||
},
|
||||
new DrawableTeamSeed(Team)
|
||||
{
|
||||
Scale = new Vector2(0.5f),
|
||||
Origin = anchor,
|
||||
Anchor = anchor,
|
||||
Children = new Drawable[]
|
||||
{
|
||||
teamNameText = new TournamentSpriteTextWithBackground
|
||||
{
|
||||
Scale = new Vector2(0.5f),
|
||||
Origin = anchor,
|
||||
Anchor = anchor,
|
||||
},
|
||||
new DrawableTeamSeed(Team)
|
||||
{
|
||||
Scale = new Vector2(0.5f),
|
||||
Origin = anchor,
|
||||
Anchor = anchor,
|
||||
},
|
||||
}
|
||||
},
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user