1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 03:27:24 +08:00

Use scale instead of rotation in news month sidebar

This commit is contained in:
Salman Ahmed 2024-07-08 08:45:44 +03:00
parent be039b85ad
commit dc630ddc9d

View File

@ -118,7 +118,7 @@ namespace osu.Game.Overlays.News.Sidebar
Expanded.BindValueChanged(open =>
{
icon.Scale = new Vector2(1, open.NewValue ? -1 : 1);
icon.ScaleTo(open.NewValue ? new Vector2(1f, -1f) : Vector2.One, 300, Easing.OutQuint);
}, true);
}
}