1
0
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:
SailorSnoW 2024-12-20 01:15:50 +01:00
parent 387a22da2f
commit 80ba0a05b4

View File

@ -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);
} }