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

Use escape key to close the OpenSpritz layer #81

Open
orschiro opened this issue Mar 14, 2014 · 2 comments
Open

Use escape key to close the OpenSpritz layer #81

orschiro opened this issue Mar 14, 2014 · 2 comments

Comments

@orschiro
Copy link

Is it possible to implement the feature of closing the OpenSpritz layer by pressing the Escape key?

That would be an enormous help instead of having to click on the x every time!

Thanks!

@Miserlou
Copy link
Owner

If you can figure out a way to do this, happy to accept a pull request into dev. Spacebar to pause would be nice as well.

@jbmartinez
Copy link
Contributor

It seems I got something working here, but it only captures the Escape key, though. The Spacebar thing is a little bit more complicated, it needs some refactoring and I'm short of time right now. I'll send a pull request after cleaning the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants