// Copyright (c) ppy Pty Ltd . 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; namespace osu.Game.Rulesets.Mania.Edit.Blueprints { public partial class NoteSelectionBlueprint : ManiaSelectionBlueprint { private readonly EditNotePiece notePiece; public NoteSelectionBlueprint(Note note) : base(note) { AddInternal(notePiece = new EditNotePiece { RelativeSizeAxes = Axes.X }); } protected override void Update() { base.Update(); notePiece.Height = DrawableObject.DrawHeight; } } }