Fix pulp and use relative sizse

This commit is contained in:
smoogipoo 2020-08-21 12:29:28 +09:00
parent f956c9fe37
commit f00bc67aaa
2 changed files with 2 additions and 3 deletions

View File

@ -27,8 +27,7 @@ namespace osu.Game.Rulesets.Catch.Objects.Drawables
InternalChild = new Pulp
{
// RelativeSizeAxes is not used since the edge effect uses Size.
Size = Size,
RelativeSizeAxes = Axes.Both,
AccentColour = { BindTarget = drawableObject.AccentColour }
};

View File

@ -36,7 +36,7 @@ namespace osu.Game.Rulesets.Catch.Objects.Drawables.Pieces
EdgeEffect = new EdgeEffectParameters
{
Type = EdgeEffectType.Glow,
Radius = Size.X / 2,
Radius = DrawWidth / 2,
Colour = colour.NewValue.Darken(0.2f).Opacity(0.75f)
};
}