mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 14:03:01 +08:00
Use new header in the RankingsOverlay
This commit is contained in:
parent
dc1d0d0f32
commit
3b6ed3fb27
@ -25,7 +25,8 @@ namespace osu.Game.Tests.Visual.Online
|
|||||||
typeof(TableRowBackground),
|
typeof(TableRowBackground),
|
||||||
typeof(UserBasedTable),
|
typeof(UserBasedTable),
|
||||||
typeof(RankingsTable<>),
|
typeof(RankingsTable<>),
|
||||||
typeof(RankingsOverlay)
|
typeof(RankingsOverlay),
|
||||||
|
typeof(RankingsOverlayHeader)
|
||||||
};
|
};
|
||||||
|
|
||||||
[Cached]
|
[Cached]
|
||||||
|
@ -55,12 +55,13 @@ namespace osu.Game.Overlays
|
|||||||
Direction = FillDirection.Vertical,
|
Direction = FillDirection.Vertical,
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
new RankingsHeader
|
new RankingsOverlayHeader
|
||||||
{
|
{
|
||||||
Anchor = Anchor.TopCentre,
|
Anchor = Anchor.TopCentre,
|
||||||
Origin = Anchor.TopCentre,
|
Origin = Anchor.TopCentre,
|
||||||
|
Depth = -float.MaxValue,
|
||||||
Country = { BindTarget = Country },
|
Country = { BindTarget = Country },
|
||||||
Scope = { BindTarget = Scope },
|
Current = { BindTarget = Scope },
|
||||||
Ruleset = { BindTarget = ruleset }
|
Ruleset = { BindTarget = ruleset }
|
||||||
},
|
},
|
||||||
new Container
|
new Container
|
||||||
|
Loading…
Reference in New Issue
Block a user