Split out classes and simplify construction of buttons

This commit is contained in:
Dean Herbert
2020-10-01 16:34:34 +09:00
parent db1ad4243e
commit 1aff263419
7 changed files with 387 additions and 380 deletions

View File

@ -14,7 +14,7 @@ namespace osu.Game.Tests.Visual.Editing
public TestSceneComposeSelectBox()
{
ComposeSelectionBox selectionBox = null;
SelectionBox selectionBox = null;
AddStep("create box", () =>
Child = selectionArea = new Container
@ -24,7 +24,7 @@ namespace osu.Game.Tests.Visual.Editing
Anchor = Anchor.Centre,
Children = new Drawable[]
{
selectionBox = new ComposeSelectionBox
selectionBox = new SelectionBox
{
CanRotate = true,
CanScaleX = true,