mirror of
https://github.com/ppy/osu.git
synced 2025-01-31 05:13:22 +08:00
hide page selection for spotlights scope
This commit is contained in:
parent
387a22da2f
commit
80ba0a05b4
@ -85,6 +85,13 @@ namespace osu.Game.Overlays
|
|||||||
if (Header.Current.Value != RankingsScope.Performance)
|
if (Header.Current.Value != RankingsScope.Performance)
|
||||||
Country.SetDefault();
|
Country.SetDefault();
|
||||||
|
|
||||||
|
// Hide page selection for spotlights scope
|
||||||
|
if (tab == RankingsScope.Spotlights)
|
||||||
|
{
|
||||||
|
Header.HidePageSelector();
|
||||||
|
}
|
||||||
|
else Header.ShowPageSelector();
|
||||||
|
|
||||||
Scheduler.AddOnce(triggerTabChanged);
|
Scheduler.AddOnce(triggerTabChanged);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user