mirror of
https://github.com/osukey/osukey.git
synced 2025-08-06 16:13:57 +09:00
Rename SelectionBox -> Selection
This commit is contained in:
@ -27,7 +27,7 @@ namespace osu.Game.Screens.Edit.Screens.Compose.Layers
|
|||||||
private readonly List<HitObjectMask> selectedMasks = new List<HitObjectMask>();
|
private readonly List<HitObjectMask> selectedMasks = new List<HitObjectMask>();
|
||||||
private IEnumerable<HitObjectMask> selectableMasks => maskContainer.AliveMasks;
|
private IEnumerable<HitObjectMask> selectableMasks => maskContainer.AliveMasks;
|
||||||
|
|
||||||
private Drawable box;
|
private Drawable outline;
|
||||||
|
|
||||||
public SelectionBox(MaskContainer maskContainer)
|
public SelectionBox(MaskContainer maskContainer)
|
||||||
{
|
{
|
||||||
@ -44,7 +44,7 @@ namespace osu.Game.Screens.Edit.Screens.Compose.Layers
|
|||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load(OsuColour colours)
|
private void load(OsuColour colours)
|
||||||
{
|
{
|
||||||
InternalChild = box = new Container
|
InternalChild = outline = new Container
|
||||||
{
|
{
|
||||||
Masking = true,
|
Masking = true,
|
||||||
BorderThickness = BORDER_RADIUS,
|
BorderThickness = BORDER_RADIUS,
|
||||||
@ -165,8 +165,8 @@ namespace osu.Game.Screens.Edit.Screens.Compose.Layers
|
|||||||
topLeft -= new Vector2(5);
|
topLeft -= new Vector2(5);
|
||||||
bottomRight += new Vector2(5);
|
bottomRight += new Vector2(5);
|
||||||
|
|
||||||
box.Size = bottomRight - topLeft;
|
outline.Size = bottomRight - topLeft;
|
||||||
box.Position = topLeft;
|
outline.Position = topLeft;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void Dispose(bool isDisposing)
|
protected override void Dispose(bool isDisposing)
|
Reference in New Issue
Block a user