mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 10:07:52 +08:00
Add scale to GroupTeam and remove unnecessary sizing and scaling in other scenes
This commit is contained in:
parent
d9ba677773
commit
18ae17e129
@ -27,6 +27,7 @@ namespace osu.Game.Tournament.Screens.Drawings.Components
|
||||
AcronymText.Origin = Anchor.TopCentre;
|
||||
AcronymText.Text = team.Acronym.Value.ToUpperInvariant();
|
||||
AcronymText.Font = OsuFont.Torus.With(weight: FontWeight.Bold, size: 10);
|
||||
Flag.Scale = new Vector2(0.5f);
|
||||
|
||||
InternalChildren = new Drawable[]
|
||||
{
|
||||
|
@ -29,7 +29,6 @@ namespace osu.Game.Tournament.Screens.Gameplay.Components
|
||||
var anchor = flip ? Anchor.TopLeft : Anchor.TopRight;
|
||||
|
||||
Flag.RelativeSizeAxes = Axes.None;
|
||||
Flag.Size = new Vector2(60, 40);
|
||||
Flag.Origin = anchor;
|
||||
Flag.Anchor = anchor;
|
||||
|
||||
|
@ -90,8 +90,6 @@ namespace osu.Game.Tournament.Screens.TeamWin
|
||||
{
|
||||
new DrawableTeamFlag(match.Winner)
|
||||
{
|
||||
Size = new Vector2(300, 200),
|
||||
Scale = new Vector2(0.5f),
|
||||
Anchor = Anchor.Centre,
|
||||
Origin = Anchor.Centre,
|
||||
Position = new Vector2(-300, 10),
|
||||
|
Loading…
Reference in New Issue
Block a user