Fix selection masks not having the correct size

This commit is contained in:
smoogipoo
2018-11-06 16:16:52 +09:00
parent c4be2af498
commit 4b1b494893
3 changed files with 25 additions and 4 deletions

View File

@ -5,7 +5,6 @@ using osu.Framework.Allocation;
using osu.Framework.Configuration;
using osu.Framework.Graphics;
using osu.Game.Graphics;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Mania.Objects.Drawables;
using osu.Game.Rulesets.Mania.Objects.Drawables.Pieces;
using osu.Game.Rulesets.Mania.UI;
@ -15,7 +14,7 @@ using OpenTK.Graphics;
namespace osu.Game.Rulesets.Mania.Edit.Blueprints
{
public class HoldNoteSelectionBlueprint : SelectionBlueprint
public class HoldNoteSelectionBlueprint : ManiaSelectionBlueprint
{
public new DrawableHoldNote HitObject => (DrawableHoldNote)base.HitObject;
@ -26,6 +25,8 @@ namespace osu.Game.Rulesets.Mania.Edit.Blueprints
public HoldNoteSelectionBlueprint(DrawableHoldNote hold)
: base(hold)
{
RelativeSizeAxes = Axes.None;
InternalChildren = new Drawable[]
{
new HoldNoteNoteSelectionBlueprint(hold.Head),