mirror of
https://github.com/Microsoft/vscode
synced 2024-09-18 01:58:27 +00:00
Not doing the call when we are on the same range and the element has already been underlined
This commit is contained in:
parent
e890c8d843
commit
7afe4e7008
|
@ -99,6 +99,8 @@ export class StickyScrollWidget extends Disposable implements IOverlayWidget {
|
|||
if (!stickyPositionProjectedOnEditor.equalsRange(this._stickyRangeProjectedOnEditor)) {
|
||||
this._stickyRangeProjectedOnEditor = stickyPositionProjectedOnEditor;
|
||||
sessionStore.clear();
|
||||
} else if (targetMouseEvent.element.style.textDecoration === 'underline') {
|
||||
return;
|
||||
}
|
||||
|
||||
const cancellationToken = new CancellationTokenSource();
|
||||
|
|
Loading…
Reference in a new issue