diff --git a/osu.Game.Tests/Visual/UserInterface/TestSceneScreenFooter.cs b/osu.Game.Tests/Visual/UserInterface/TestSceneScreenFooter.cs
index de2026e538..c8cf6a6ffb 100644
--- a/osu.Game.Tests/Visual/UserInterface/TestSceneScreenFooter.cs
+++ b/osu.Game.Tests/Visual/UserInterface/TestSceneScreenFooter.cs
@@ -210,7 +210,7 @@ namespace osu.Game.Tests.Visual.UserInterface
return false;
}
- public override Drawable CreateFooterContent() => new TestFooterContent();
+ public override VisibilityContainer CreateFooterContent() => new TestFooterContent();
public partial class TestFooterContent : VisibilityContainer
{
diff --git a/osu.Game/Overlays/FirstRunSetupOverlay.cs b/osu.Game/Overlays/FirstRunSetupOverlay.cs
index 6412297663..2c8ceba82c 100644
--- a/osu.Game/Overlays/FirstRunSetupOverlay.cs
+++ b/osu.Game/Overlays/FirstRunSetupOverlay.cs
@@ -150,7 +150,7 @@ namespace osu.Game.Overlays
private FirstRunSetupFooterContent? currentFooterContent;
- public override Drawable CreateFooterContent()
+ public override VisibilityContainer CreateFooterContent()
{
currentFooterContent = new FirstRunSetupFooterContent
{
diff --git a/osu.Game/Overlays/Mods/ModSelectOverlay.cs b/osu.Game/Overlays/Mods/ModSelectOverlay.cs
index bd04a1f6b3..da93539679 100644
--- a/osu.Game/Overlays/Mods/ModSelectOverlay.cs
+++ b/osu.Game/Overlays/Mods/ModSelectOverlay.cs
@@ -256,7 +256,7 @@ namespace osu.Game.Overlays.Mods
private ModSelectFooterContent? currentFooterContent;
- public override Drawable CreateFooterContent() => currentFooterContent = new ModSelectFooterContent(this)
+ public override VisibilityContainer CreateFooterContent() => currentFooterContent = new ModSelectFooterContent(this)
{
Beatmap = { BindTarget = Beatmap },
ActiveMods = { BindTarget = ActiveMods },
diff --git a/osu.Game/Overlays/Mods/ShearedOverlayContainer.cs b/osu.Game/Overlays/Mods/ShearedOverlayContainer.cs
index 9e5a336c17..9ea98c1ae4 100644
--- a/osu.Game/Overlays/Mods/ShearedOverlayContainer.cs
+++ b/osu.Game/Overlays/Mods/ShearedOverlayContainer.cs
@@ -104,7 +104,7 @@ namespace osu.Game.Overlays.Mods
///
/// Creates content to be displayed on the game-wide footer.
///
- public virtual Drawable CreateFooterContent() => Empty();
+ public virtual VisibilityContainer? CreateFooterContent() => null;
///
/// Invoked when the back button in the footer is pressed.
diff --git a/osu.Game/Screens/Footer/ScreenFooter.cs b/osu.Game/Screens/Footer/ScreenFooter.cs
index a841f2a50b..4464b9d7da 100644
--- a/osu.Game/Screens/Footer/ScreenFooter.cs
+++ b/osu.Game/Screens/Footer/ScreenFooter.cs
@@ -218,7 +218,7 @@ namespace osu.Game.Screens.Footer
updateColourScheme(overlay.ColourProvider.ColourScheme);
- var content = overlay.CreateFooterContent();
+ var content = overlay.CreateFooterContent() ?? Empty();
Add(contentContainer = new Container
{
diff --git a/osu.Game/Screens/OnlinePlay/FreeModSelectOverlay.cs b/osu.Game/Screens/OnlinePlay/FreeModSelectOverlay.cs
index 0ed45161f2..2b3ab94916 100644
--- a/osu.Game/Screens/OnlinePlay/FreeModSelectOverlay.cs
+++ b/osu.Game/Screens/OnlinePlay/FreeModSelectOverlay.cs
@@ -6,6 +6,7 @@ using osu.Game.Overlays;
using System.Collections.Generic;
using System.Linq;
using osu.Framework.Graphics;
+using osu.Framework.Graphics.Containers;
using osu.Game.Graphics.UserInterface;
using osu.Game.Overlays.Mods;
using osu.Game.Rulesets.Mods;
@@ -34,7 +35,7 @@ namespace osu.Game.Screens.OnlinePlay
protected override ModColumn CreateModColumn(ModType modType) => new ModColumn(modType, true);
- public override Drawable CreateFooterContent() => currentFooterContent = new FreeModSelectFooterContent(this)
+ public override VisibilityContainer CreateFooterContent() => currentFooterContent = new FreeModSelectFooterContent(this)
{
Beatmap = { BindTarget = Beatmap },
ActiveMods = { BindTarget = ActiveMods },