1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-25 17:10:09 +08:00

Standardise animations

This commit is contained in:
Dean Herbert
2026-01-27 02:55:48 +09:00
Unverified
parent 6983227240
commit 42dc73d849
2 changed files with 17 additions and 11 deletions
@@ -121,7 +121,11 @@ namespace osu.Game.Graphics.UserInterfaceV2
fill.FadeColour(fillColour, 250, Easing.OutQuint);
content.TransformTo(nameof(BorderColour), (ColourInfo)borderColour, 250, Easing.OutQuint);
content.ResizeWidthTo(ExpandOnCurrent && Current.Value ? 1 : 0.75f, 250, Easing.OutQuint);
if (ExpandOnCurrent && Current.Value)
content.ResizeWidthTo(1f, 200, Easing.OutElasticQuarter);
else
content.ResizeWidthTo(0.75f, 120, Easing.OutExpo);
}
}
}