mirror of
https://github.com/ppy/osu.git
synced 2024-12-27 20:22:56 +08:00
26 lines
728 B
C#
26 lines
728 B
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
using osu.Framework.Graphics;
|
|
using osu.Game.Rulesets.Mania.Edit.Blueprints.Components;
|
|
using osu.Game.Rulesets.Mania.Objects.Drawables;
|
|
|
|
namespace osu.Game.Rulesets.Mania.Edit.Blueprints
|
|
{
|
|
public class NoteSelectionBlueprint : ManiaSelectionBlueprint
|
|
{
|
|
public NoteSelectionBlueprint(DrawableNote note)
|
|
: base(note)
|
|
{
|
|
AddInternal(new EditNotePiece { RelativeSizeAxes = Axes.X });
|
|
}
|
|
|
|
protected override void Update()
|
|
{
|
|
base.Update();
|
|
|
|
Size = HitObject.DrawSize;
|
|
}
|
|
}
|
|
}
|