提交 4561e397 编写于 作者: R rebornix

💄

上级 2a558708
...@@ -200,7 +200,7 @@ export class CodeCell extends Disposable { ...@@ -200,7 +200,7 @@ export class CodeCell extends Disposable {
let editorHeight = templateData.editor!.getContentHeight(); let editorHeight = templateData.editor!.getContentHeight();
viewCell.editorHeight = editorHeight; viewCell.editorHeight = editorHeight;
if (previousOutputHeight === 0 || this.viewCell.layoutInfo.outputTotalHeight === 0) { if (previousOutputHeight === 0 || this.viewCell.outputs.length === 0) {
// first execution or removing all outputs // first execution or removing all outputs
this.relayoutCell(); this.relayoutCell();
} else { } else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册