Skip to content

Commit 02a3cf3

Browse files
author
Rachel Macfarlane
committed
Remove unneeded re-creation of comment titlebar on update
1 parent 4b63d31 commit 02a3cf3

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

src/vs/workbench/contrib/comments/browser/commentThreadWidget.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -339,12 +339,6 @@ export class ReviewZoneWidget extends ZoneWidget implements ICommentThreadWidget
339339
this._commentElements = newCommentNodeList;
340340
this.createThreadLabel();
341341

342-
if (this._formActions && this._commentEditor.hasModel()) {
343-
dom.clearNode(this._formActions);
344-
const model = this._commentEditor.getModel();
345-
this.createCommentWidgetActions(this._formActions, model);
346-
}
347-
348342
// Move comment glyph widget and show position if the line has changed.
349343
const lineNumber = this._commentThread.range.startLineNumber;
350344
let shouldMoveWidget = false;

0 commit comments

Comments
 (0)