fix ace horizontal scrolling

This commit is contained in:
Silver Kuusik 2018-01-17 13:28:57 +01:00
parent 50d1bb5490
commit dba4dafc7f

View File

@ -480,6 +480,8 @@ window.onload = function() {
case 80: // p
$("#blocklyDiv").toggle();
$("#blocklyArea").toggle();
/* resize the Python code editor */
pythonEditor.resize();
/* disable / enable ace editor */
pythonEditor.setReadOnly(pythonEnabled);
/* toggle python enabled */