Make screen properties local to MigrationSelectScreen.

This commit is contained in:
Lucas A 2021-05-13 19:28:23 +02:00
parent 09a5b9c872
commit 0caba57945
2 changed files with 6 additions and 6 deletions

View File

@ -22,8 +22,6 @@ namespace osu.Game.Overlays.Settings.Sections.Maintenance
private DirectorySelector directorySelector;
protected override OverlayActivation InitialOverlayActivationMode => OverlayActivation.Disabled;
protected abstract OsuSpriteText CreateHeader();
/// <summary>
@ -44,10 +42,6 @@ namespace osu.Game.Overlays.Settings.Sections.Maintenance
/// </summary>
protected virtual DirectoryInfo InitialPath => null;
public override bool AllowExternalScreenChange => false;
public override bool DisallowExternalBeatmapRulesetChanges => true;
[BackgroundDependencyLoader]
private void load(OsuColour colours)
{

View File

@ -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",