1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 14:02:55 +08:00

Rename SelectionBox -> Selection

This commit is contained in:
smoogipoo 2018-03-30 15:51:38 +09:00
parent 1dca1663c3
commit 5d0a636cc4

View File

@ -27,7 +27,7 @@ namespace osu.Game.Screens.Edit.Screens.Compose.Layers
private readonly List<HitObjectMask> selectedMasks = new List<HitObjectMask>();
private IEnumerable<HitObjectMask> selectableMasks => maskContainer.AliveMasks;
private Drawable box;
private Drawable outline;
public SelectionBox(MaskContainer maskContainer)
{
@ -44,7 +44,7 @@ namespace osu.Game.Screens.Edit.Screens.Compose.Layers
[BackgroundDependencyLoader]
private void load(OsuColour colours)
{
InternalChild = box = new Container
InternalChild = outline = new Container
{
Masking = true,
BorderThickness = BORDER_RADIUS,
@ -165,8 +165,8 @@ namespace osu.Game.Screens.Edit.Screens.Compose.Layers
topLeft -= new Vector2(5);
bottomRight += new Vector2(5);
box.Size = bottomRight - topLeft;
box.Position = topLeft;
outline.Size = bottomRight - topLeft;
outline.Position = topLeft;
}
protected override void Dispose(bool isDisposing)