mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 20:05:29 +08:00
Cleanup
This commit is contained in:
parent
ede59f63f6
commit
f8acd9e451
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user