Rename dragBox to dragLayer

This commit is contained in:
Dean Herbert 2018-04-04 16:24:27 +09:00
parent 4196bb8c24
commit c712b29b5b

View File

@ -35,15 +35,15 @@ namespace osu.Game.Screens.Edit.Screens.Compose.Layers
selectionBox = composer.CreateSelectionBox(maskContainer); selectionBox = composer.CreateSelectionBox(maskContainer);
var dragBox = new DragLayer(maskContainer); var dragLayer = new DragLayer(maskContainer);
dragBox.DragEnd += () => selectionBox.UpdateVisibility(); dragLayer.DragEnd += () => selectionBox.UpdateVisibility();
InternalChildren = new Drawable[] InternalChildren = new Drawable[]
{ {
dragBox, dragLayer,
maskContainer, maskContainer,
selectionBox, selectionBox,
dragBox.CreateProxy() dragLayer.CreateProxy()
}; };
foreach (var obj in playfield.HitObjects.Objects) foreach (var obj in playfield.HitObjects.Objects)