mirror of
https://github.com/ppy/osu.git
synced 2025-01-06 09:03:01 +08:00
Add back initial position transform to ensure correctness
This commit is contained in:
parent
8df9a1ee1f
commit
08d88ec2fa
@ -19,6 +19,8 @@ namespace osu.Game.Rulesets.Mania.Skinning.Argon
|
|||||||
{
|
{
|
||||||
public partial class ArgonJudgementPiece : JudgementPiece, IAnimatableJudgement
|
public partial class ArgonJudgementPiece : JudgementPiece, IAnimatableJudgement
|
||||||
{
|
{
|
||||||
|
private const float judgement_y_position = 160;
|
||||||
|
|
||||||
private RingExplosion? ringExplosion;
|
private RingExplosion? ringExplosion;
|
||||||
|
|
||||||
[Resolved]
|
[Resolved]
|
||||||
@ -30,7 +32,7 @@ namespace osu.Game.Rulesets.Mania.Skinning.Argon
|
|||||||
AutoSizeAxes = Axes.Both;
|
AutoSizeAxes = Axes.Both;
|
||||||
|
|
||||||
Origin = Anchor.Centre;
|
Origin = Anchor.Centre;
|
||||||
Y = 160;
|
Y = judgement_y_position;
|
||||||
}
|
}
|
||||||
|
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
@ -76,6 +78,7 @@ namespace osu.Game.Rulesets.Mania.Skinning.Argon
|
|||||||
this.ScaleTo(1.6f);
|
this.ScaleTo(1.6f);
|
||||||
this.ScaleTo(1, 100, Easing.In);
|
this.ScaleTo(1, 100, Easing.In);
|
||||||
|
|
||||||
|
this.MoveToY(judgement_y_position);
|
||||||
this.MoveToOffset(new Vector2(0, 100), 800, Easing.InQuint);
|
this.MoveToOffset(new Vector2(0, 100), 800, Easing.InQuint);
|
||||||
|
|
||||||
this.RotateTo(0);
|
this.RotateTo(0);
|
||||||
|
Loading…
Reference in New Issue
Block a user