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

Action shortcut button broken #182

Open
barnettwilliam opened this issue Feb 22, 2024 · 0 comments
Open

Action shortcut button broken #182

barnettwilliam opened this issue Feb 22, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@barnettwilliam
Copy link
Collaborator

Broken functionality from the initial refactoring of the epsilon playground that assumes a fixed action button rather than the flexibly defined panels and buttons of the education platform.

There can now be multiple action buttons so we need to add a way for a teacher to specify any shortcuts in the activity config. The following code needs to be refactored to support this.

$(window).keydown(function(event) {
if ((event.metaKey && event.keyCode == 83) || (event.ctrlKey && event.keyCode == 83)) {
runProgram();
event.preventDefault();
}
});

Found in PR #180 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Bugs
Development

No branches or pull requests

1 participant