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:
parent
58c7d1e772
commit
a65af8249c
@ -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()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user