Fixed gameplay flags being bigger and changed values to make more sense

This commit is contained in:
Shivam 2020-10-23 14:11:29 +02:00
parent afa86f959f
commit ae9e60560b
4 changed files with 4 additions and 3 deletions

View File

@ -32,7 +32,7 @@ private void load(TextureStore textures)
{
if (team == null) return;
Size = new Vector2(70, 47);
Size = new Vector2(75, 50);
Masking = true;
CornerRadius = 5;
Child = flagSprite = new Sprite

View File

@ -29,6 +29,7 @@ public TeamDisplay(TournamentTeam team, TeamColour colour, Bindable<int?> curren
var anchor = flip ? Anchor.TopLeft : Anchor.TopRight;
Flag.RelativeSizeAxes = Axes.None;
Flag.Scale = new Vector2(0.8f);
Flag.Origin = anchor;
Flag.Anchor = anchor;

View File

@ -288,7 +288,7 @@ public TeamDisplay(TournamentTeam team)
AutoSizeAxes = Axes.Both;
Flag.RelativeSizeAxes = Axes.None;
Flag.Scale = new Vector2(1.4f);
Flag.Scale = new Vector2(1.2f);
InternalChild = new FillFlowContainer
{

View File

@ -93,7 +93,7 @@ private void update() => Schedule(() =>
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
Position = new Vector2(-300, 10),
Scale = new Vector2(2.2f)
Scale = new Vector2(2f)
},
new FillFlowContainer
{