Merge pull request #1178 from processing/autorefresh-tweaks

re #1177: increase autorefresh time period to 1000ms
This commit is contained in:
Cassie Tarakajian 2019-10-03 16:18:08 -04:00 committed by GitHub
commit 29ac16acfa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -134,7 +134,7 @@ class Editor extends React.Component {
this.props.clearConsole();
this.props.startRefreshSketch();
}
}, 400));
}, 1000));
this._cm.on('keyup', () => {
const temp = `line ${parseInt((this._cm.getCursor().line) + 1, 10)}`;