提交 831fe1f6 编写于 作者: R rebornix

more restrict layout debouncing

上级 31b8e464
......@@ -211,7 +211,7 @@ export class CodeCell extends Disposable {
if (viewCell.outputs.length > 0) {
let layoutCache = false;
if (this.viewCell.layoutInfo.totalHeight !== 0) {
if (this.viewCell.layoutInfo.totalHeight !== 0 && this.viewCell.layoutInfo.totalHeight > totalHeight) {
layoutCache = true;
this.relayoutCell();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册