mirror of
https://github.com/ppy/osu
synced 2024-12-26 17:02:59 +00:00
Use scale instead of rotation in news month sidebar
This commit is contained in:
parent
be039b85ad
commit
dc630ddc9d
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user