1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 18:47:27 +08:00

Remove useless container

This commit is contained in:
Andrei Zavatski 2019-09-14 06:34:57 +03:00
parent 8ad782a82d
commit 2783ae62ef

View File

@ -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,18 +84,13 @@ namespace osu.Game.Overlays.Rankings
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,
}
Current = Spotlight,
}
}
},