From 189fe762a9503483c512308e86ee1ac94b5cca2d Mon Sep 17 00:00:00 2001 From: Lucy Zhang Date: Mon, 28 Jun 2021 14:48:44 -0700 Subject: [PATCH] remove layout call in output component init (#15905) --- .../contrib/notebook/browser/cellViews/output.component.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/sql/workbench/contrib/notebook/browser/cellViews/output.component.ts b/src/sql/workbench/contrib/notebook/browser/cellViews/output.component.ts index bf890859eb..99ea80b0aa 100644 --- a/src/sql/workbench/contrib/notebook/browser/cellViews/output.component.ts +++ b/src/sql/workbench/contrib/notebook/browser/cellViews/output.component.ts @@ -54,7 +54,6 @@ export class OutputComponent extends CellView implements OnInit, AfterViewInit { ngOnInit() { this._register(this._themeService.onDidColorThemeChange(event => this.updateTheme(event))); this.loadComponent(); - this.layout(); this._initialized = true; this._register(Event.debounce(this.cellModel.notebookModel.layoutChanged, (l, e) => e, 50, /*leading=*/false) (() => this.layout()));