mirror of
https://github.com/ppy/osu.git
synced 2025-02-21 06:52:55 +08:00
Merge pull request #17957 from peppy/disable-first-run-temporary
Disable first run screen from appearing on startup until it is more complete
This commit is contained in:
commit
60f513abd9
@ -66,6 +66,7 @@ namespace osu.Game.Tests.Visual.UserInterface
|
|||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
[Test]
|
||||||
|
[Ignore("Enable when first run setup is being displayed on first run.")]
|
||||||
public void TestDoesntOpenOnSecondRun()
|
public void TestDoesntOpenOnSecondRun()
|
||||||
{
|
{
|
||||||
AddStep("set first run", () => LocalConfig.SetValue(OsuSetting.ShowFirstRunSetup, true));
|
AddStep("set first run", () => LocalConfig.SetValue(OsuSetting.ShowFirstRunSetup, true));
|
||||||
|
@ -157,7 +157,8 @@ namespace osu.Game.Overlays
|
|||||||
|
|
||||||
config.BindWith(OsuSetting.ShowFirstRunSetup, showFirstRunSetup);
|
config.BindWith(OsuSetting.ShowFirstRunSetup, showFirstRunSetup);
|
||||||
|
|
||||||
if (showFirstRunSetup.Value) Show();
|
// TODO: uncomment when happy with the whole flow.
|
||||||
|
// if (showFirstRunSetup.Value) Show();
|
||||||
}
|
}
|
||||||
|
|
||||||
public override bool OnPressed(KeyBindingPressEvent<GlobalAction> e)
|
public override bool OnPressed(KeyBindingPressEvent<GlobalAction> e)
|
||||||
@ -289,7 +290,8 @@ namespace osu.Game.Overlays
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
showFirstRunSetup.Value = false;
|
// TODO: uncomment when happy with the whole flow.
|
||||||
|
// showFirstRunSetup.Value = false;
|
||||||
currentStepIndex = null;
|
currentStepIndex = null;
|
||||||
Hide();
|
Hide();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user