2018-04-13 17:19:50 +08:00
|
|
|
|
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
|
|
|
|
|
using osu.Game.Rulesets.Edit;
|
2018-11-07 15:08:56 +08:00
|
|
|
|
using osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders.Components;
|
2018-04-13 17:19:50 +08:00
|
|
|
|
using osu.Game.Rulesets.Osu.Objects;
|
|
|
|
|
using osu.Game.Rulesets.Osu.Objects.Drawables;
|
|
|
|
|
|
2018-11-07 15:08:56 +08:00
|
|
|
|
namespace osu.Game.Rulesets.Osu.Edit.Blueprints.Sliders
|
2018-04-13 17:19:50 +08:00
|
|
|
|
{
|
2018-11-06 16:56:04 +08:00
|
|
|
|
public class SliderCircleSelectionBlueprint : SelectionBlueprint
|
2018-04-13 17:19:50 +08:00
|
|
|
|
{
|
2018-11-06 16:56:04 +08:00
|
|
|
|
public SliderCircleSelectionBlueprint(DrawableOsuHitObject hitObject, Slider slider, SliderPosition position)
|
2018-04-13 17:19:50 +08:00
|
|
|
|
: base(hitObject)
|
|
|
|
|
{
|
2018-10-26 12:51:03 +08:00
|
|
|
|
InternalChild = new SliderCirclePiece(slider, position);
|
2018-04-13 17:19:50 +08:00
|
|
|
|
|
|
|
|
|
Select();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Todo: This is temporary, since the slider circle masks don't do anything special yet. In the future they will handle input.
|
2018-09-26 13:01:15 +08:00
|
|
|
|
public override bool HandlePositionalInput => false;
|
2018-04-13 17:19:50 +08:00
|
|
|
|
}
|
|
|
|
|
}
|