Container -> CompositeDrawable

This commit is contained in:
smoogipoo
2020-01-14 14:43:57 +09:00
parent 33993837b7
commit d6bd0b7106

View File

@ -17,7 +17,7 @@ using osu.Framework.Graphics.UserInterface;
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 @@ namespace osu.Game.Overlays.Rankings
{
RelativeSizeAxes = Axes.X;
Height = 100;
Children = new Drawable[]
InternalChildren = new Drawable[]
{
background = new Box
{