mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Open rankings overlay on spotlights page.
This commit is contained in:
@ -138,6 +138,12 @@ namespace osu.Game.Overlays
|
|||||||
Country.Value = requested;
|
Country.Value = requested;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void ShowSpotlights()
|
||||||
|
{
|
||||||
|
Scope.Value = RankingsScope.Spotlights;
|
||||||
|
Show();
|
||||||
|
}
|
||||||
|
|
||||||
private void loadNewContent()
|
private void loadNewContent()
|
||||||
{
|
{
|
||||||
loading.Show();
|
loading.Show();
|
||||||
|
@ -134,7 +134,7 @@ namespace osu.Game.Screens.Menu
|
|||||||
|
|
||||||
buttons.OnSettings = () => settings?.ToggleVisibility();
|
buttons.OnSettings = () => settings?.ToggleVisibility();
|
||||||
buttons.OnDirect = () => direct?.ToggleVisibility();
|
buttons.OnDirect = () => direct?.ToggleVisibility();
|
||||||
buttons.OnChart = () => rankings?.ToggleVisibility();
|
buttons.OnChart = () => rankings?.ShowSpotlights();
|
||||||
|
|
||||||
LoadComponentAsync(background = new BackgroundScreenDefault());
|
LoadComponentAsync(background = new BackgroundScreenDefault());
|
||||||
preloadSongSelect();
|
preloadSongSelect();
|
||||||
|
Reference in New Issue
Block a user