mirror of https://github.com/ppy/osu
Use scale instead of rotation in news month sidebar
This commit is contained in:
parent
be039b85ad
commit
dc630ddc9d
|
@ -118,7 +118,7 @@ protected override void LoadComplete()
|
|||
|
||||
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