1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 15:03:13 +08:00

Use new header in the RankingsOverlay

This commit is contained in:
Andrei Zavatski 2020-02-03 20:53:30 +03:00
parent dc1d0d0f32
commit 3b6ed3fb27
2 changed files with 5 additions and 3 deletions

View File

@ -25,7 +25,8 @@ namespace osu.Game.Tests.Visual.Online
typeof(TableRowBackground),
typeof(UserBasedTable),
typeof(RankingsTable<>),
typeof(RankingsOverlay)
typeof(RankingsOverlay),
typeof(RankingsOverlayHeader)
};
[Cached]

View File

@ -55,12 +55,13 @@ namespace osu.Game.Overlays
Direction = FillDirection.Vertical,
Children = new Drawable[]
{
new RankingsHeader
new RankingsOverlayHeader
{
Anchor = Anchor.TopCentre,
Origin = Anchor.TopCentre,
Depth = -float.MaxValue,
Country = { BindTarget = Country },
Scope = { BindTarget = Scope },
Current = { BindTarget = Scope },
Ruleset = { BindTarget = ruleset }
},
new Container