Expose Current bindable in LabelledComponents

Adds a `LabelledDrawable` class for usages where bindables are not present.
This commit is contained in:
Dean Herbert
2019-10-28 15:33:08 +09:00
parent 50a1f06ad9
commit 08040adfad
7 changed files with 151 additions and 128 deletions

View File

@ -7,7 +7,6 @@ using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics.UserInterface;
using osu.Game.Graphics.UserInterfaceV2;
namespace osu.Game.Tests.Visual.UserInterface
@ -28,7 +27,7 @@ namespace osu.Game.Tests.Visual.UserInterface
{
AddStep("create component", () =>
{
LabelledComponent<OsuTextBox> component;
LabelledTextBox component;
Child = new Container
{