mirror of
https://github.com/ppy/osu
synced 2024-12-28 18:02:53 +00:00
Make screen properties local to MigrationSelectScreen.
This commit is contained in:
parent
09a5b9c872
commit
0caba57945
@ -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)
|
||||
{
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user