Skip to content

Commit 3c2bd3c

Browse files
authored
Update overlay part position on cell layout change (microsoft#165948)
1 parent f9a4c1b commit 3c2bd3c

File tree

1 file changed

+4
-0
lines changed
  • src/vs/workbench/contrib/notebook/browser/view

1 file changed

+4
-0
lines changed

src/vs/workbench/contrib/notebook/browser/view/cellPart.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,10 @@ export class CellPartsCollection extends Disposable {
182182
for (const part of this.contentParts) {
183183
part.updateInternalLayoutNow(viewCell);
184184
}
185+
186+
for (const part of this.overlayParts) {
187+
part.updateInternalLayoutNow(viewCell);
188+
}
185189
}
186190

187191
prepareLayout() {

0 commit comments

Comments
 (0)