mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 15:47:26 +08: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