Skip to content

Commit

Permalink
Show first run dialog on first run of the game
Browse files Browse the repository at this point in the history
  • Loading branch information
peppy committed May 10, 2022
1 parent 09613c9 commit 9aadc27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ public void TestBasic()
}

[Test]
[Ignore("Enable when first run setup is being displayed on first run.")]
public void TestDoesntOpenOnSecondRun()
{
AddStep("set first run", () => LocalConfig.SetValue(OsuSetting.ShowFirstRunSetup, true));
Expand Down
6 changes: 2 additions & 4 deletions osu.Game/Overlays/FirstRunSetupOverlay.cs
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,7 @@ protected override void LoadComplete()

config.BindWith(OsuSetting.ShowFirstRunSetup, showFirstRunSetup);

// TODO: uncomment when happy with the whole flow.
// if (showFirstRunSetup.Value) Show();
if (showFirstRunSetup.Value) Show();
}

public override bool OnPressed(KeyBindingPressEvent<GlobalAction> e)
Expand Down Expand Up @@ -304,8 +303,7 @@ private void showNextStep()
}
else
{
// TODO: uncomment when happy with the whole flow.
// showFirstRunSetup.Value = false;
showFirstRunSetup.Value = false;
currentStepIndex = null;
Hide();
}
Expand Down

0 comments on commit 9aadc27

Please sign in to comment.