mirror of https://github.com/ppy/osu
Fix progress easing to 0 if aborting after confirmation
This commit is contained in:
parent
39de807445
commit
0e122468db
|
@ -151,6 +151,8 @@ protected override void Confirm()
|
|||
// avoid starting a new confirm call until we finish animating.
|
||||
pendingAnimation = true;
|
||||
|
||||
Progress.Value = 0;
|
||||
|
||||
overlayCircle.ScaleTo(0, 100)
|
||||
.Then().FadeOut().ScaleTo(1).FadeIn(500)
|
||||
.OnComplete(a =>
|
||||
|
@ -158,8 +160,6 @@ protected override void Confirm()
|
|||
icon.ScaleTo(1, 100);
|
||||
circularProgress.FadeOut(100).OnComplete(_ =>
|
||||
{
|
||||
Progress.Value = 0;
|
||||
|
||||
bind();
|
||||
|
||||
circularProgress.FadeIn();
|
||||
|
|
Loading…
Reference in New Issue