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:
parent
5f8eb6d823
commit
babb7d5158
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user