diff --git a/src/vs/workbench/parts/comments/electron-browser/commentGlyphWidget.ts b/src/vs/workbench/parts/comments/electron-browser/commentGlyphWidget.ts index b05c049300e112ad63982337d33d98425f6bfbf7..379481a63ed19baea6325da8dc9371536b4b4f81 100644 --- a/src/vs/workbench/parts/comments/electron-browser/commentGlyphWidget.ts +++ b/src/vs/workbench/parts/comments/electron-browser/commentGlyphWidget.ts @@ -30,7 +30,7 @@ export class CommentGlyphWidget { options: this._commentsOptions }]; - this.commentsDecorations = this._editor.getModel().deltaDecorations(this.commentsDecorations, commentsDecorations); + this.commentsDecorations = this._editor.deltaDecorations(this.commentsDecorations, commentsDecorations); } setLineNumber(lineNumber: number): void {