2018-04-13 09:19:50 +00: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-10-25 09:16:25 +00:00
|
|
|
|
using osu.Game.Rulesets.Osu.Edit.Masks.SliderMasks.Components;
|
2018-04-13 09:19:50 +00:00
|
|
|
|
using osu.Game.Rulesets.Osu.Objects;
|
|
|
|
|
using osu.Game.Rulesets.Osu.Objects.Drawables;
|
|
|
|
|
|
2018-10-26 04:39:19 +00:00
|
|
|
|
namespace osu.Game.Rulesets.Osu.Edit.Masks.SliderMasks
|
2018-04-13 09:19:50 +00:00
|
|
|
|
{
|
2018-10-03 04:28:00 +00:00
|
|
|
|
public class SliderCircleSelectionMask : SelectionMask
|
2018-04-13 09:19:50 +00:00
|
|
|
|
{
|
2018-10-25 09:16:25 +00:00
|
|
|
|
public SliderCircleSelectionMask(DrawableOsuHitObject hitObject, Slider slider, SliderPosition position)
|
2018-04-13 09:19:50 +00:00
|
|
|
|
: base(hitObject)
|
|
|
|
|
{
|
2018-10-25 09:16:25 +00:00
|
|
|
|
InternalChild = new SliderCircleMask(slider, position);
|
2018-04-13 09:19:50 +00: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 05:01:15 +00:00
|
|
|
|
public override bool HandlePositionalInput => false;
|
2018-04-13 09:19:50 +00:00
|
|
|
|
}
|
|
|
|
|
}
|