From 0caba57945ba161274132260772580b8f747e9d2 Mon Sep 17 00:00:00 2001 From: Lucas A Date: Thu, 13 May 2021 19:28:23 +0200 Subject: [PATCH] Make screen properties local to MigrationSelectScreen. --- .../Settings/Sections/Maintenance/DirectorySelectScreen.cs | 6 ------ .../Settings/Sections/Maintenance/MigrationSelectScreen.cs | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/osu.Game/Overlays/Settings/Sections/Maintenance/DirectorySelectScreen.cs b/osu.Game/Overlays/Settings/Sections/Maintenance/DirectorySelectScreen.cs index c676e1391d..6e6df14a92 100644 --- a/osu.Game/Overlays/Settings/Sections/Maintenance/DirectorySelectScreen.cs +++ b/osu.Game/Overlays/Settings/Sections/Maintenance/DirectorySelectScreen.cs @@ -22,8 +22,6 @@ namespace osu.Game.Overlays.Settings.Sections.Maintenance private DirectorySelector directorySelector; - protected override OverlayActivation InitialOverlayActivationMode => OverlayActivation.Disabled; - protected abstract OsuSpriteText CreateHeader(); /// @@ -44,10 +42,6 @@ namespace osu.Game.Overlays.Settings.Sections.Maintenance /// protected virtual DirectoryInfo InitialPath => null; - public override bool AllowExternalScreenChange => false; - - public override bool DisallowExternalBeatmapRulesetChanges => true; - [BackgroundDependencyLoader] private void load(OsuColour colours) { diff --git a/osu.Game/Overlays/Settings/Sections/Maintenance/MigrationSelectScreen.cs b/osu.Game/Overlays/Settings/Sections/Maintenance/MigrationSelectScreen.cs index cfbb7d6593..6334bffe94 100644 --- a/osu.Game/Overlays/Settings/Sections/Maintenance/MigrationSelectScreen.cs +++ b/osu.Game/Overlays/Settings/Sections/Maintenance/MigrationSelectScreen.cs @@ -19,6 +19,12 @@ namespace osu.Game.Overlays.Settings.Sections.Maintenance protected override DirectoryInfo InitialPath => new DirectoryInfo(storage.GetFullPath(string.Empty)).Parent; + public override bool AllowExternalScreenChange => false; + + public override bool DisallowExternalBeatmapRulesetChanges => true; + + public override bool HideOverlaysOnEnter => true; + protected override OsuSpriteText CreateHeader() => new OsuSpriteText { Text = "Please select a new location",