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

Add offset to FooterButtonV2.cs shadow

This commit is contained in:
mk56-spn 2023-02-13 22:20:41 +01:00
parent be52d0a60c
commit ae9a17d76b

View File

@ -75,7 +75,8 @@ namespace osu.Game.Screens.Select.FooterV2
Type = EdgeEffectType.Shadow, Type = EdgeEffectType.Shadow,
Radius = 5, Radius = 5,
// Figma says 50% opacity, but it does not match up visually if taken at face value, and looks bad. // Figma says 50% opacity, but it does not match up visually if taken at face value, and looks bad.
Colour = Colour4.Black.Opacity(0.25f) Colour = Colour4.Black.Opacity(0.25f),
Offset = new Vector2(0, 2),
}; };
Shear = SHEAR; Shear = SHEAR;
Size = new Vector2(button_width, button_height); Size = new Vector2(button_width, button_height);