mirror of https://github.com/ppy/osu
Remove useless container
This commit is contained in:
parent
8ad782a82d
commit
2783ae62ef
|
@ -18,7 +18,6 @@ namespace osu.Game.Overlays.Rankings
|
|||
public class RankingsHeader : CompositeDrawable
|
||||
{
|
||||
private const int content_height = 250;
|
||||
private const int dropdown_height = 50;
|
||||
|
||||
public IEnumerable<Spotlight> Spotlights
|
||||
{
|
||||
|
@ -85,20 +84,15 @@ public RankingsHeader()
|
|||
Scope = { BindTarget = Scope },
|
||||
Country = { BindTarget = Country },
|
||||
},
|
||||
new Container
|
||||
dropdown = new OsuDropdown<Spotlight>
|
||||
{
|
||||
Anchor = Anchor.TopCentre,
|
||||
Origin = Anchor.TopCentre,
|
||||
RelativeSizeAxes = Axes.X,
|
||||
Height = dropdown_height,
|
||||
Width = 0.8f,
|
||||
Child = dropdown = new OsuDropdown<Spotlight>
|
||||
{
|
||||
RelativeSizeAxes = Axes.X,
|
||||
Current = Spotlight,
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue