Fix progress easing to 0 if aborting after confirmation

This commit is contained in:
smoogipoo 2018-05-22 18:06:40 +09:00
parent 39de807445
commit 0e122468db
1 changed files with 2 additions and 2 deletions

View File

@ -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();