Skip to content

Commit 8a4de76

Browse files
committed
💄
1 parent 3065b49 commit 8a4de76

File tree

1 file changed

+6
-8
lines changed
  • src/vs/workbench/contrib/notebook/browser/view/cellParts

1 file changed

+6
-8
lines changed

src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.ts

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -468,14 +468,12 @@ export class CodeCell extends Disposable {
468468
const viewLayout = this.templateData.editor.getLayoutInfo();
469469
this.viewCell.editorHeight = newHeight;
470470
this.relayoutCell();
471-
DOM.scheduleAtNextAnimationFrame(() => {
472-
this.layoutEditor(
473-
{
474-
width: viewLayout.width,
475-
height: newHeight
476-
}
477-
);
478-
});
471+
this.layoutEditor(
472+
{
473+
width: viewLayout.width,
474+
height: newHeight
475+
}
476+
);
479477
}
480478

481479
relayoutCell() {

0 commit comments

Comments
 (0)