1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-19 04:57:46 +08:00

Merge pull request #17815 from peppy/hold-to-confirm-button-improvement

Adjust hold to confirm animation curve to better show intention
This commit is contained in:
Dan Balasescu 2022-04-14 15:03:08 +09:00 committed by GitHub
commit 9af81adea7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,7 +70,10 @@ namespace osu.Game.Graphics.Containers
confirming = false;
Fired = false;
this.TransformBindableTo(Progress, 0, fadeout_delay, Easing.Out);
this
.TransformBindableTo(Progress, Progress.Value)
.Delay(200)
.TransformBindableTo(Progress, 0, fadeout_delay, Easing.InSine);
}
}
}