1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-18 20:30:27 +08:00

Fix footer not showing in first run overlay

This commit is contained in:
Dean Herbert
2025-07-01 17:47:39 +09:00
Unverified
parent 99220408f6
commit 46dab76eba
@@ -148,6 +148,8 @@ namespace osu.Game.Overlays.FirstRunSetup
protected override IReadOnlyDependencyContainer CreateChildDependencies(IReadOnlyDependencyContainer parent) =>
new DependencyContainer(new DependencyIsolationContainer(base.CreateChildDependencies(parent)));
private ScreenFooter footer;
[BackgroundDependencyLoader]
private void load(AudioManager audio, TextureStore textures, RulesetStore rulesets)
{
@@ -157,7 +159,6 @@ namespace osu.Game.Overlays.FirstRunSetup
OsuScreenStack stack;
OsuLogo logo;
ScreenFooter footer;
Padding = new MarginPadding(5);
@@ -195,6 +196,13 @@ namespace osu.Game.Overlays.FirstRunSetup
// intentionally load synchronously so it is included in the initial load of the first run screen.
stack.PushSynchronously(screen);
}
protected override void LoadComplete()
{
base.LoadComplete();
footer.Show();
}
}
private class DependencyIsolationContainer : IReadOnlyDependencyContainer