mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 18:42:56 +08:00
innerCircle -> overlayCircle
This commit is contained in:
parent
ef55c3c197
commit
58ae545747
@ -82,7 +82,7 @@ namespace osu.Game.Screens.Play.HUD
|
||||
{
|
||||
private SpriteIcon icon;
|
||||
private CircularProgress circularProgress;
|
||||
private Circle innerCircle;
|
||||
private Circle overlayCircle;
|
||||
|
||||
protected override bool AllowMultipleFires => true;
|
||||
|
||||
@ -108,7 +108,7 @@ namespace osu.Game.Screens.Play.HUD
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
InnerRadius = 1
|
||||
},
|
||||
innerCircle = new Circle
|
||||
overlayCircle = new Circle
|
||||
{
|
||||
Anchor = Anchor.Centre,
|
||||
Origin = Anchor.Centre,
|
||||
@ -150,7 +150,7 @@ namespace osu.Game.Screens.Play.HUD
|
||||
// avoid starting a new confirm call until we finish animating.
|
||||
pendingAnimation = true;
|
||||
|
||||
innerCircle.ScaleTo(0, 100)
|
||||
overlayCircle.ScaleTo(0, 100)
|
||||
.Then().FadeOut().ScaleTo(1).FadeIn(500)
|
||||
.OnComplete(a => circularProgress.FadeOut(100).OnComplete(_ =>
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user