提交 b0c32059 编写于 作者: R rebornix

fix #108629.

上级 f0ae4dec
......@@ -1040,6 +1040,11 @@ export class NotebookCellList extends WorkbenchList<CellViewModel> implements ID
layout(height?: number, width?: number): void {
this._isInLayout = true;
super.layout(height, width);
if (this.renderHeight === 0) {
this.view.domNode.style.visibility = 'hidden';
} else {
this.view.domNode.style.visibility = 'initial';
}
this._isInLayout = false;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册