mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 07:23:14 +08:00
Extract scale constant
This commit is contained in:
parent
8795c5f082
commit
d10aac851d
@ -112,8 +112,10 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
|
||||
case ArmedState.Hit:
|
||||
this.FadeOut(animDuration, Easing.Out);
|
||||
|
||||
Arrow.ScaleTo(Scale * 1.5f, animDuration, Easing.Out);
|
||||
CirclePiece.ScaleTo(Scale * 1.5f, animDuration, Easing.Out);
|
||||
const float final_scale = 1.5f;
|
||||
|
||||
Arrow.ScaleTo(Scale * final_scale, animDuration, Easing.Out);
|
||||
CirclePiece.ScaleTo(Scale * final_scale, animDuration, Easing.Out);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user