Merge branch 'develop' of https://github.com/processing/p5.js-web-editor into feature/mobile-save-sketch
This commit is contained in:
commit
379cb9482f
1 changed files with 2 additions and 0 deletions
|
@ -88,6 +88,8 @@ const Console = () => {
|
||||||
|
|
||||||
const cm = useRef({});
|
const cm = useRef({});
|
||||||
|
|
||||||
|
useDidUpdate(() => { cm.current.scrollTop = cm.current.scrollHeight; });
|
||||||
|
|
||||||
const consoleClass = classNames({
|
const consoleClass = classNames({
|
||||||
'preview-console': true,
|
'preview-console': true,
|
||||||
'preview-console--collapsed': !isExpanded
|
'preview-console--collapsed': !isExpanded
|
||||||
|
|
Loading…
Reference in a new issue