mirror of
https://github.com/ppy/osu
synced 2024-12-25 08:12:41 +00:00
Fix pulp and use relative sizse
This commit is contained in:
parent
f956c9fe37
commit
f00bc67aaa
@ -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 }
|
||||
};
|
||||
|
||||
|
@ -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)
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user