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

iframe should catch ⌘ events #107

Open
therewasaguy opened this issue Jan 12, 2016 · 1 comment
Open

iframe should catch ⌘ events #107

therewasaguy opened this issue Jan 12, 2016 · 1 comment

Comments

@therewasaguy
Copy link
Owner

if iframe is focused (if you click on it while a sketch is running), ⌘'s don't work, for example ⌘R refreshes the page.

Maybe best handles key events with the same module as parent window, and also require it within debug-console.js (that sends messages from the iframe to the parent window).

@therewasaguy
Copy link
Owner Author

focus helps send the right events to the iframe: a5cf44a#diff-bdf2da6adcfb8d4a4d7a170c700937d3R73

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

No branches or pull requests

1 participant