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; pendingAnimation = true;
overlayCircle.ScaleTo(0, 100) overlayCircle.ScaleTo(0, 100)
.Then().FadeOut().ScaleTo(1).FadeIn(500) .Then().FadeOut().ScaleTo(1).FadeIn(500)
.OnComplete(a => circularProgress.FadeOut(100).OnComplete(_ => .OnComplete(a => circularProgress.FadeOut(100).OnComplete(_ =>
{ {
bind(); Progress.Value = 0;
circularProgress.FadeIn();
pendingAnimation = false; bind();
}));
circularProgress.FadeIn();
pendingAnimation = false;
}));
} }
protected override bool OnMouseDown(InputState state, MouseDownEventArgs args) protected override bool OnMouseDown(InputState state, MouseDownEventArgs args)