This commit is contained in:
rebornix
2020-10-28 11:01:55 -07:00
parent f0ae4dec7a
commit b0c320594f
@@ -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;
}