Skip to content

Commit 41ad6b4

Browse files
Subscribe to decoration changes at initialization (#15573)
* When the DebugEditorModel attaches to the editor, it initially does not receive decorations updates. Only when changing the file, decorations are updated. Fixes #15567 Signed-off-by: Florian Richter <florian.richter@mvtec.com>
1 parent 6d1a4a1 commit 41ad6b4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/debug/src/browser/editor/debug-editor-model.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,7 @@ export class DebugEditorModel implements Disposable {
121121
}),
122122
this.breakpoints.onDidChangeBreakpoints(event => this.closeBreakpointIfAffected(event)),
123123
]);
124-
this.update();
125-
this.render();
124+
this.updateModel();
126125
}
127126

128127
protected updateModel(): void {

0 commit comments

Comments
 (0)