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

Escape Keybinding #282

Merged
merged 2 commits into from
Nov 24, 2024
Merged

Conversation

CollinsSpencer
Copy link
Contributor

Problem: in many modern games you can close the game by pressing "escape" repeatedly until there is an "Exit to Desktop" button on screen, regardless of starting location in the menus.

  • Adds standard game lobby keyboard navigation where hitting the escape key navigates back until at the home menu, at which point it opens the exit to desktop menu.
  • Handles closing modals on escape keydown without navigating pages.
  • Slight cleanup of src/renderer/index.ts file

@p2004a p2004a requested a review from bcdrme November 24, 2024 15:35
@bcdrme bcdrme merged commit afb3934 into beyond-all-reason:master Nov 24, 2024
1 check passed
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.

2 participants