Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a hold-to-confirm screen when exiting game using escape key #2514

Merged
merged 6 commits into from May 14, 2018

Conversation

peppy
Copy link
Sponsor Member

@peppy peppy commented May 10, 2018

Resolves #1940.

As this is an alternative implementation, closes #2341.


private Box overlay;

private const int activate_delay = 400;

This comment was marked as off-topic.

This comment was marked as off-topic.

};
}

protected void BeginConfirm() => overlay.FadeIn(activate_delay, Easing.Out);

This comment was marked as off-topic.

This comment was marked as off-topic.

{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
Text = "Aborted!",

This comment was marked as off-topic.

@smoogipoo smoogipoo merged commit 21ed275 into ppy:master May 14, 2018
@peppy peppy deleted the exit-hold-confirmation branch June 21, 2018 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Quit confirmation at menu screen
3 participants