mirror of
https://github.com/ppy/osu.git
synced 2025-01-19 16:22:54 +08: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;
|
private DirectorySelector directorySelector;
|
||||||
|
|
||||||
protected override OverlayActivation InitialOverlayActivationMode => OverlayActivation.Disabled;
|
|
||||||
|
|
||||||
protected abstract OsuSpriteText CreateHeader();
|
protected abstract OsuSpriteText CreateHeader();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -44,10 +42,6 @@ namespace osu.Game.Overlays.Settings.Sections.Maintenance
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
protected virtual DirectoryInfo InitialPath => null;
|
protected virtual DirectoryInfo InitialPath => null;
|
||||||
|
|
||||||
public override bool AllowExternalScreenChange => false;
|
|
||||||
|
|
||||||
public override bool DisallowExternalBeatmapRulesetChanges => true;
|
|
||||||
|
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load(OsuColour colours)
|
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;
|
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
|
protected override OsuSpriteText CreateHeader() => new OsuSpriteText
|
||||||
{
|
{
|
||||||
Text = "Please select a new location",
|
Text = "Please select a new location",
|
||||||
|
Loading…
Reference in New Issue
Block a user