From dba4dafc7f634fde5bc33246045c2eb76f4bb51d Mon Sep 17 00:00:00 2001 From: Silver Kuusik Date: Wed, 17 Jan 2018 13:28:57 +0100 Subject: [PATCH] fix ace horizontal scrolling --- sumorobot.js | 2 ++ 1 file changed, 2 insertions(+) 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 */