From 07e1e8bba078bea021efeb6bbba1e23b19f36069 Mon Sep 17 00:00:00 2001 From: Peng Lyu Date: Thu, 4 Apr 2024 14:49:52 -0700 Subject: [PATCH] Update borders on template reuse. (#209577) --- .../workbench/contrib/notebook/browser/diff/diffComponents.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.ts b/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.ts index 42e43b56b48..de90f2796c5 100644 --- a/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.ts +++ b/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.ts @@ -752,6 +752,8 @@ abstract class SingleSideDiffElement extends AbstractElementRenderer { ); this.cell = cell; this.templateData = templateData; + + this.updateBorders(); } init() { @@ -1243,6 +1245,8 @@ export class ModifiedElement extends AbstractElementRenderer { this.cell = cell; this.templateData = templateData; this._editorViewStateChanged = false; + + this.updateBorders(); } init() { }