File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -382,6 +382,7 @@ export class CommentController implements IEditorContribution {
382
382
this . _commentingRangeDecorator . update ( this . editor , [ ] ) ;
383
383
this . _commentThreadRangeDecorator . update ( this . editor , [ ] ) ;
384
384
dispose ( this . _commentWidgets ) ;
385
+ this . _commentWidgets = [ ] ;
385
386
}
386
387
} ) ) ;
387
388
Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ export class CommentsPanel extends ViewPane {
234
234
const commentToReveal = element instanceof ResourceWithCommentThreads ? element . commentThreads [ 0 ] . comment . uniqueIdInThread : element . comment . uniqueIdInThread ;
235
235
if ( threadToReveal && isCodeEditor ( editor ) ) {
236
236
const controller = CommentController . get ( editor ) ;
237
- controller ?. revealCommentThread ( threadToReveal , commentToReveal , false ) ;
237
+ controller ?. revealCommentThread ( threadToReveal , commentToReveal , true ) ;
238
238
}
239
239
240
240
return true ;
You can’t perform that action at this time.
0 commit comments