1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 17:47:29 +08:00

Fix first-run setup buttons reset after reopening from dismiss

This commit is contained in:
Salman Ahmed 2024-06-30 07:27:19 +03:00
parent 58c7d1e772
commit a65af8249c

View File

@ -150,10 +150,16 @@ namespace osu.Game.Overlays
private FirstRunSetupFooterContent? currentFooterContent;
public override Drawable CreateFooterContent() => currentFooterContent = new FirstRunSetupFooterContent
public override Drawable CreateFooterContent()
{
ShowNextStep = showNextStep,
};
currentFooterContent = new FirstRunSetupFooterContent
{
ShowNextStep = showNextStep,
};
currentFooterContent.OnLoadComplete += _ => updateButtons();
return currentFooterContent;
}
public override bool OnBackButton()
{