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

@ -3,7 +3,7 @@
namespace osu.Game.Graphics.UserInterfaceV2
{
public class LabelledSwitchButton : LabelledComponent<SwitchButton>
public class LabelledSwitchButton : LabelledComponent<SwitchButton, bool>
{
public LabelledSwitchButton()
: base(true)