提交 e1b9f94c 编写于 作者: J Johannes Rieken

fix #25645

上级 643d3bdb
......@@ -472,11 +472,14 @@ export class CodeLensContribution implements editorCommon.IEditorContribution {
// Ask for all references again
scheduler.schedule();
}));
this._localToDispose.push(this._editor.onDidScrollChange((e) => {
this._localToDispose.push(this._editor.onDidScrollChange(e => {
if (e.scrollTopChanged) {
this._detectVisibleLenses.schedule();
}
}));
this._localToDispose.push(this._editor.onDidLayoutChange(e => {
this._detectVisibleLenses.schedule();
}));
this._localToDispose.push({
dispose: () => {
if (this._editor.getModel()) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册