1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 07:07:45 +08:00

Simplify TaikoLegacyHitTarget container hierarchy

This commit is contained in:
Dean Herbert 2024-01-25 21:02:22 +09:00
parent 0c03326eaf
commit 5aa4235c3d
No known key found for this signature in database

View File

@ -17,30 +17,24 @@ namespace osu.Game.Rulesets.Taiko.Skinning.Legacy
{ {
RelativeSizeAxes = Axes.Both; RelativeSizeAxes = Axes.Both;
InternalChild = new Container InternalChildren = new Drawable[]
{ {
RelativeSizeAxes = Axes.Both, new Sprite
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
Children = new Drawable[]
{ {
new Sprite Texture = skin.GetTexture("approachcircle"),
{ Scale = new Vector2(0.83f),
Texture = skin.GetTexture("approachcircle"), Alpha = 0.47f, // eyeballed to match stable
Scale = new Vector2(0.83f), Anchor = Anchor.Centre,
Alpha = 0.47f, // eyeballed to match stable Origin = Anchor.Centre,
Anchor = Anchor.Centre, },
Origin = Anchor.Centre, new Sprite
}, {
new Sprite Texture = skin.GetTexture("taikobigcircle"),
{ Scale = new Vector2(0.8f),
Texture = skin.GetTexture("taikobigcircle"), Alpha = 0.22f, // eyeballed to match stable
Scale = new Vector2(0.8f), Anchor = Anchor.Centre,
Alpha = 0.22f, // eyeballed to match stable Origin = Anchor.Centre,
Anchor = Anchor.Centre, },
Origin = Anchor.Centre,
},
}
}; };
} }
} }