1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 08:33:21 +08:00

Update with slider body changes

This commit is contained in:
smoogipoo 2018-10-29 15:25:20 +09:00
parent 619a0dfd59
commit 9b19050faf

View File

@ -13,12 +13,12 @@ namespace osu.Game.Rulesets.Osu.Edit.Masks.SliderMasks.Components
public class SliderBodyPiece : CompositeDrawable public class SliderBodyPiece : CompositeDrawable
{ {
private readonly Slider slider; private readonly Slider slider;
private readonly SliderBody body; private readonly SnakingSliderBody body;
public SliderBodyPiece(Slider slider) public SliderBodyPiece(Slider slider)
{ {
this.slider = slider; this.slider = slider;
InternalChild = body = new SliderBody(slider) InternalChild = body = new SnakingSliderBody(slider)
{ {
AccentColour = Color4.Transparent, AccentColour = Color4.Transparent,
PathWidth = slider.Scale * 64 PathWidth = slider.Scale * 64