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
1 changed files with 2 additions and 2 deletions

View File

@ -159,8 +159,8 @@ public bool OnPressed(KeyBindingPressEvent<TaikoAction> e)
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)
);
}