diff --git a/sumorobot.js b/sumorobot.js index ddf79f5..7e4551f 100755 --- a/sumorobot.js +++ b/sumorobot.js @@ -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 */