From 189a22d942a7343ce3bdeecbf2336fea911663ce Mon Sep 17 00:00:00 2001 From: rebornix Date: Tue, 28 Aug 2018 16:15:55 -0700 Subject: [PATCH] Mitigate microsoft/vscode-pull-request-github#313. --- .../parts/comments/electron-browser/commentGlyphWidget.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/workbench/parts/comments/electron-browser/commentGlyphWidget.ts b/src/vs/workbench/parts/comments/electron-browser/commentGlyphWidget.ts index b05c049300e..379481a63ed 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 { -- GitLab