mirror of
https://github.com/osukey/osukey.git
synced 2025-06-05 12:57:39 +09:00
Revert "Remove related events"
This reverts commit 59025e9d50a6866b71f2571919460c94a155222c.
This commit is contained in:
parent
283c69a68f
commit
cfbfb8d58b
@ -39,6 +39,7 @@ namespace osu.Game.Screens.Menu
|
|||||||
|
|
||||||
public Action OnEdit;
|
public Action OnEdit;
|
||||||
public Action OnExit;
|
public Action OnExit;
|
||||||
|
public Action OnBeatmapListing;
|
||||||
public Action OnSolo;
|
public Action OnSolo;
|
||||||
public Action OnSettings;
|
public Action OnSettings;
|
||||||
public Action OnMultiplayer;
|
public Action OnMultiplayer;
|
||||||
|
@ -71,7 +71,7 @@ namespace osu.Game.Screens.Menu
|
|||||||
private SongTicker songTicker;
|
private SongTicker songTicker;
|
||||||
|
|
||||||
[BackgroundDependencyLoader(true)]
|
[BackgroundDependencyLoader(true)]
|
||||||
private void load(SettingsOverlay settings, OsuConfigManager config, SessionStatics statics)
|
private void load(BeatmapListingOverlay beatmapListing, SettingsOverlay settings, RankingsOverlay rankings, OsuConfigManager config, SessionStatics statics)
|
||||||
{
|
{
|
||||||
holdDelay = config.GetBindable<float>(OsuSetting.UIHoldActivationDelay);
|
holdDelay = config.GetBindable<float>(OsuSetting.UIHoldActivationDelay);
|
||||||
loginDisplayed = statics.GetBindable<bool>(Static.LoginOverlayDisplayed);
|
loginDisplayed = statics.GetBindable<bool>(Static.LoginOverlayDisplayed);
|
||||||
@ -137,6 +137,7 @@ namespace osu.Game.Screens.Menu
|
|||||||
};
|
};
|
||||||
|
|
||||||
buttons.OnSettings = () => settings?.ToggleVisibility();
|
buttons.OnSettings = () => settings?.ToggleVisibility();
|
||||||
|
buttons.OnBeatmapListing = () => beatmapListing?.ToggleVisibility();
|
||||||
|
|
||||||
LoadComponentAsync(background = new BackgroundScreenDefault());
|
LoadComponentAsync(background = new BackgroundScreenDefault());
|
||||||
preloadSongSelect();
|
preloadSongSelect();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user