Reduce size of spinner blueprint to better represent gameplay size

This commit is contained in:
Dean Herbert
2022-10-27 16:15:22 +09:00
parent 7916b99153
commit 39e0362db1

View File

@ -16,8 +16,8 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Spinners.Components
{ {
public class SpinnerPiece : BlueprintPiece<Spinner> public class SpinnerPiece : BlueprintPiece<Spinner>
{ {
private readonly CircularContainer circle; private readonly Circle circle;
private readonly RingPiece ring; private readonly Circle ring;
public SpinnerPiece() public SpinnerPiece()
{ {
@ -25,18 +25,21 @@ namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Spinners.Components
RelativeSizeAxes = Axes.Both; RelativeSizeAxes = Axes.Both;
FillMode = FillMode.Fit; FillMode = FillMode.Fit;
Size = new Vector2(1.3f); Size = new Vector2(1);
InternalChildren = new Drawable[] InternalChildren = new Drawable[]
{ {
circle = new CircularContainer circle = new Circle
{ {
RelativeSizeAxes = Axes.Both, RelativeSizeAxes = Axes.Both,
Masking = true,
Alpha = 0.5f, Alpha = 0.5f,
Child = new Box { RelativeSizeAxes = Axes.Both }
}, },
ring = new RingPiece() ring = new Circle
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
Size = new Vector2(OsuHitObject.OBJECT_RADIUS),
},
}; };
} }