1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-27 19:50:18 +08:00

move icon upwards to be visually centered

This commit is contained in:
iminlikewithyou
2023-12-28 17:17:24 -06:00
Unverified
parent 637119f7d4
commit 4760c6aaee
+2 -2
View File
@@ -126,7 +126,7 @@ namespace osu.Game.Screens.Menu
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
Size = new Vector2(32),
Position = new Vector2(0, 0),
Position = new Vector2(0, -4),
Icon = symbol
},
new OsuSpriteText
@@ -186,7 +186,7 @@ namespace osu.Game.Screens.Menu
{
icon.ClearTransforms();
icon.RotateTo(0, 500, Easing.Out);
icon.MoveTo(Vector2.Zero, 500, Easing.Out);
icon.MoveTo(new Vector2(0, -4), 500, Easing.Out);
icon.ScaleTo(Vector2.One, 200, Easing.Out);
if (State == ButtonState.Expanded)