Make the dragger attach to objects it surrounds

Plus a lot more implementation.
This commit is contained in:
smoogipoo
2017-12-02 00:26:02 +09:00
parent f6591851c3
commit cf859a6cf2
12 changed files with 167 additions and 18 deletions

View File

@ -9,6 +9,7 @@ using System.Collections.Generic;
using System.Linq;
using osu.Framework.Graphics.Containers;
using osu.Game.Rulesets.Osu.Judgements;
using osu.Framework.Graphics.Primitives;
namespace osu.Game.Rulesets.Osu.Objects.Drawables
{
@ -165,6 +166,9 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
}
public Drawable ProxiedLayer => initialCircle.ApproachCircle;
public override Vector2 SelectionPoint => body.Position;
public override Quad SelectionQuad => body.PathDrawQuad;
}
internal interface ISliderProgress