mirror of
https://github.com/osukey/osukey.git
synced 2025-06-27 14:18:06 +09:00
Fix progress easing to 0 if aborting after confirmation
This commit is contained in:
parent
39de807445
commit
0e122468db
@ -151,6 +151,8 @@ namespace osu.Game.Screens.Play.HUD
|
|||||||
// avoid starting a new confirm call until we finish animating.
|
// avoid starting a new confirm call until we finish animating.
|
||||||
pendingAnimation = true;
|
pendingAnimation = true;
|
||||||
|
|
||||||
|
Progress.Value = 0;
|
||||||
|
|
||||||
overlayCircle.ScaleTo(0, 100)
|
overlayCircle.ScaleTo(0, 100)
|
||||||
.Then().FadeOut().ScaleTo(1).FadeIn(500)
|
.Then().FadeOut().ScaleTo(1).FadeIn(500)
|
||||||
.OnComplete(a =>
|
.OnComplete(a =>
|
||||||
@ -158,8 +160,6 @@ namespace osu.Game.Screens.Play.HUD
|
|||||||
icon.ScaleTo(1, 100);
|
icon.ScaleTo(1, 100);
|
||||||
circularProgress.FadeOut(100).OnComplete(_ =>
|
circularProgress.FadeOut(100).OnComplete(_ =>
|
||||||
{
|
{
|
||||||
Progress.Value = 0;
|
|
||||||
|
|
||||||
bind();
|
bind();
|
||||||
|
|
||||||
circularProgress.FadeIn();
|
circularProgress.FadeIn();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user