1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 10:33:30 +08:00

ease out input drum animation and add delay before fading out

This commit is contained in:
mouzedrift 2024-01-18 07:19:29 +01:00
parent d335c01553
commit a870f99877

View File

@ -159,8 +159,8 @@ namespace osu.Game.Rulesets.Taiko.Skinning.Legacy
const float up_time = 50;
target.Animate(
t => t.FadeTo(Math.Min(target.Alpha + alpha_amount, 1), down_time)
).Then(
t => t.FadeTo(Math.Min(target.Alpha + alpha_amount, 1), down_time, Easing.Out)
).Delay(100).Then(
t => t.FadeOut(up_time)
);
}