mirror of https://github.com/ppy/osu
Container -> CompositeDrawable
This commit is contained in:
parent
33993837b7
commit
d6bd0b7106
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue