We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e2db50 commit 15235c7Copy full SHA for 15235c7
src/botPage/view/View.js
@@ -454,24 +454,17 @@ export default class View {
454
});
455
$(document).keydown(e => {
456
if (e.which === 189) {
457
- // -
+ // Ctrl + -
458
if (e.ctrlKey) {
459
this.blockly.zoomOnPlusMinus(false);
460
e.preventDefault();
461
}
462
} else if (e.which === 187) {
463
- // +
+ // Ctrl + +
464
465
this.blockly.zoomOnPlusMinus(true);
466
467
468
- } else if (e.which === 27) {
469
- // Esc
470
- const exitButton = $('.panel:hover .panelExitButton');
471
- if (exitButton.length === 1) {
472
- exitButton.click();
473
- e.preventDefault();
474
- }
475
476
477
0 commit comments