Rename sprites container to "circleSprites"

This commit is contained in:
Salman Ahmed 2020-08-05 23:45:00 +03:00
parent 43161697f8
commit 9465e7abe1

View File

@ -29,7 +29,7 @@ namespace osu.Game.Rulesets.Osu.Skinning
Size = new Vector2(OsuHitObject.OBJECT_RADIUS * 2); Size = new Vector2(OsuHitObject.OBJECT_RADIUS * 2);
} }
private Container<Sprite> circlePieces; private Container<Sprite> circleSprites;
private Sprite hitCircleSprite, hitCircleOverlay; private Sprite hitCircleSprite, hitCircleOverlay;
private SkinnableSpriteText hitCircleText; private SkinnableSpriteText hitCircleText;
@ -48,7 +48,7 @@ namespace osu.Game.Rulesets.Osu.Skinning
InternalChildren = new Drawable[] InternalChildren = new Drawable[]
{ {
circlePieces = new Container<Sprite> circleSprites = new Container<Sprite>
{ {
Anchor = Anchor.Centre, Anchor = Anchor.Centre,
Origin = Anchor.Centre, Origin = Anchor.Centre,
@ -117,8 +117,8 @@ namespace osu.Game.Rulesets.Osu.Skinning
switch (state.NewValue) switch (state.NewValue)
{ {
case ArmedState.Hit: case ArmedState.Hit:
circlePieces.FadeOut(legacy_fade_duration, Easing.Out); circleSprites.FadeOut(legacy_fade_duration, Easing.Out);
circlePieces.ScaleTo(1.4f, legacy_fade_duration, Easing.Out); circleSprites.ScaleTo(1.4f, legacy_fade_duration, Easing.Out);
var legacyVersion = skin.GetConfig<LegacySetting, decimal>(LegacySetting.Version)?.Value; var legacyVersion = skin.GetConfig<LegacySetting, decimal>(LegacySetting.Version)?.Value;