Skip to content

Commit 3ca0cd4

Browse files
committed
minor
1 parent b3604c6 commit 3ca0cd4

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎v3/js/opt-live.js‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ var originFrontendJsFile = 'opt-live.js';
9898

9999
var prevVisualizer = null; // the visualizer object from the previous execution
100100

101-
var aceEditorWidth = '600px';
101+
var aceEditorWidth = '550px';
102102

103103
var hasSyntaxError = false;
104104
function toggleSyntaxError(x) {
@@ -337,7 +337,8 @@ function initAceEditor(height) {
337337

338338
pyInputAceEditor.on('change', function(e) {
339339
$.doTimeout('pyInputAceEditorChange',
340-
CODE_SNAPSHOT_DEBOUNCE_MS /* match the value in opt-frontend-common.js for consistency and easy apples-to-apples comparisons later on */,
340+
500, /* go a bit faster than CODE_SNAPSHOT_DEBOUNCE_MS to feel more snappy */
341+
//CODE_SNAPSHOT_DEBOUNCE_MS /* match the value in opt-frontend-common.js for consistency and easy apples-to-apples comparisons later on */,
341342
executeCode); // debounce
342343
clearFrontendError();
343344
s.clearAnnotations();

0 commit comments

Comments
 (0)