mirror of
https://github.com/ppy/osu
synced 2024-12-26 08:53:10 +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
|
InternalChild = new Pulp
|
||||||
{
|
{
|
||||||
// RelativeSizeAxes is not used since the edge effect uses Size.
|
RelativeSizeAxes = Axes.Both,
|
||||||
Size = Size,
|
|
||||||
AccentColour = { BindTarget = drawableObject.AccentColour }
|
AccentColour = { BindTarget = drawableObject.AccentColour }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ namespace osu.Game.Rulesets.Catch.Objects.Drawables.Pieces
|
|||||||
EdgeEffect = new EdgeEffectParameters
|
EdgeEffect = new EdgeEffectParameters
|
||||||
{
|
{
|
||||||
Type = EdgeEffectType.Glow,
|
Type = EdgeEffectType.Glow,
|
||||||
Radius = Size.X / 2,
|
Radius = DrawWidth / 2,
|
||||||
Colour = colour.NewValue.Darken(0.2f).Opacity(0.75f)
|
Colour = colour.NewValue.Darken(0.2f).Opacity(0.75f)
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user