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:
parent
d335c01553
commit
a870f99877
@ -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)
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user