mirror of
https://github.com/ppy/osu.git
synced 2024-11-12 06:47:25 +08:00
32 lines
850 B
C#
32 lines
850 B
C#
// 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.Framework.Graphics;
|
|
using osu.Framework.Input.Events;
|
|
using osu.Game.Rulesets.Edit;
|
|
using osu.Game.Rulesets.Objects.Drawables;
|
|
using OpenTK;
|
|
|
|
namespace osu.Game.Rulesets.Mania.Edit.Blueprints
|
|
{
|
|
public class ManiaSelectionBlueprint : SelectionBlueprint
|
|
{
|
|
public ManiaSelectionBlueprint(DrawableHitObject hitObject)
|
|
: base(hitObject)
|
|
{
|
|
RelativeSizeAxes = Axes.None;
|
|
}
|
|
|
|
protected override void Update()
|
|
{
|
|
base.Update();
|
|
|
|
Position = Parent.ToLocalSpace(HitObject.ToScreenSpace(Vector2.Zero));
|
|
}
|
|
|
|
public override void AdjustPosition(DragEvent dragEvent)
|
|
{
|
|
}
|
|
}
|
|
}
|