mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 17:19:48 +01:00
fix init layout interrupted by editor group resize.
This commit is contained in:
@@ -291,6 +291,10 @@ export class CodeCell extends Disposable {
|
||||
}
|
||||
|
||||
private onCellWidthChange(): void {
|
||||
if (!this.templateData.editor.hasModel()) {
|
||||
return;
|
||||
}
|
||||
|
||||
const realContentHeight = this.templateData.editor.getContentHeight();
|
||||
this.viewCell.editorHeight = realContentHeight;
|
||||
this.relayoutCell();
|
||||
|
||||
Reference in New Issue
Block a user