mirror of
https://github.com/ppy/osu
synced 2024-12-13 10:28:17 +00:00
Rename sprites container to "circleSprites"
This commit is contained in:
parent
43161697f8
commit
9465e7abe1
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user