1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 08:33:21 +08:00

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

View File

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