Fix corner_radius missing in some parts of `FooterButtonV2.cs`.

Adjust shadow radius value to 5 to match figma.
This commit is contained in:
mk56-spn 2023-02-13 22:15:29 +01:00
parent 6e6421caea
commit 61584ba63c
1 changed files with 2 additions and 3 deletions

View File

@ -74,8 +74,7 @@ public FooterButtonV2()
{
Type = EdgeEffectType.Shadow,
Radius = 5,
Roundness = 10,
Colour = Colour4.Black.Opacity(0.25f)
Colour = Colour4.Black.Opacity(0.5f)
};
Shear = SHEAR;
Size = new Vector2(button_width, button_height);
@ -124,7 +123,7 @@ public FooterButtonV2()
Shear = -SHEAR,
Anchor = Anchor.BottomCentre,
Origin = Anchor.Centre,
Y = -10,
Y = -corner_radius,
Size = new Vector2(120, 6),
Masking = true,
CornerRadius = 3,