mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-02 23:05:15 +01:00
fix #108629.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user