Container -> CompositeDrawable

This commit is contained in:
smoogipoo 2020-01-14 14:43:57 +09:00
parent 33993837b7
commit d6bd0b7106
1 changed files with 3 additions and 2 deletions

View File

@ -17,7 +17,7 @@
namespace osu.Game.Overlays.Rankings
{
public class SpotlightSelector : Container, IHasCurrentValue<APISpotlight>
public class SpotlightSelector : CompositeDrawable, IHasCurrentValue<APISpotlight>
{
private readonly Box background;
private readonly SpotlightsDropdown dropdown;
@ -43,7 +43,8 @@ public SpotlightSelector()
{
RelativeSizeAxes = Axes.X;
Height = 100;
Children = new Drawable[]
InternalChildren = new Drawable[]
{
background = new Box
{