1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-15 20:05:29 +08:00
This commit is contained in:
smoogipoo 2018-06-27 12:59:19 +09:00
parent ede59f63f6
commit f8acd9e451

View File

@ -27,19 +27,19 @@ namespace osu.Game.Graphics.UserInterface
{ {
spinnerShadow = new SpriteIcon spinnerShadow = new SpriteIcon
{ {
RelativeSizeAxes = Axes.Both,
Position = new Vector2(1, 1),
Anchor = Anchor.Centre, Anchor = Anchor.Centre,
Origin = Anchor.Centre, Origin = Anchor.Centre,
RelativeSizeAxes = Axes.Both,
Position = new Vector2(1, 1),
Colour = Color4.Black, Colour = Color4.Black,
Alpha = 0.4f, Alpha = 0.4f,
Icon = FontAwesome.fa_circle_o_notch Icon = FontAwesome.fa_circle_o_notch
}, },
spinner = new SpriteIcon spinner = new SpriteIcon
{ {
RelativeSizeAxes = Axes.Both,
Anchor = Anchor.Centre, Anchor = Anchor.Centre,
Origin = Anchor.Centre, Origin = Anchor.Centre,
RelativeSizeAxes = Axes.Both,
Icon = FontAwesome.fa_circle_o_notch Icon = FontAwesome.fa_circle_o_notch
} }
}; };
@ -53,7 +53,6 @@ namespace osu.Game.Graphics.UserInterface
spinnerShadow.Spin(spin_duration, RotationDirection.Clockwise); spinnerShadow.Spin(spin_duration, RotationDirection.Clockwise);
} }
protected override void PopIn() => this.FadeIn(transition_duration * 2, Easing.OutQuint); protected override void PopIn() => this.FadeIn(transition_duration * 2, Easing.OutQuint);
protected override void PopOut() => this.FadeOut(transition_duration, Easing.OutQuint); protected override void PopOut() => this.FadeOut(transition_duration, Easing.OutQuint);