Skip to content

Commit 7b8ad8c

Browse files
committed
Improve comment
1 parent f28c21e commit 7b8ad8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/browser/Linkifier2.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,8 +309,8 @@ export class Linkifier2 extends Disposable implements ILinkifier2 {
309309
}
310310
});
311311

312-
// Listen to viewport changes re-render the link under the cursor when the viewport line
313-
// changes
312+
// Listen to viewport changes to re-render the link under the cursor (only when the line the
313+
// link is on changes)
314314
if (this._renderService) {
315315
this._linkCacheDisposables.push(this._renderService.onRenderedViewportChange(e => {
316316
// Sanity check, this shouldn't happen in practice as this listener would be disposed

0 commit comments

Comments
 (0)