1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 05:42:56 +08:00

Fix white ring flash when holding button post-confirmation

This commit is contained in:
Dean Herbert 2018-05-22 16:23:05 +09:00
parent 5f8eb6d823
commit babb7d5158

View File

@ -151,13 +151,16 @@ namespace osu.Game.Screens.Play.HUD
pendingAnimation = true;
overlayCircle.ScaleTo(0, 100)
.Then().FadeOut().ScaleTo(1).FadeIn(500)
.OnComplete(a => circularProgress.FadeOut(100).OnComplete(_ =>
{
bind();
circularProgress.FadeIn();
pendingAnimation = false;
}));
.Then().FadeOut().ScaleTo(1).FadeIn(500)
.OnComplete(a => circularProgress.FadeOut(100).OnComplete(_ =>
{
Progress.Value = 0;
bind();
circularProgress.FadeIn();
pendingAnimation = false;
}));
}
protected override bool OnMouseDown(InputState state, MouseDownEventArgs args)