未验证 提交 f0f95fbc 编写于 作者: J Johannes Rieken 提交者: GitHub

Merge pull request #108323 from vivekmthr/master

CodeLens activated on mouse up #107736
...@@ -226,7 +226,7 @@ export class CodeLensContribution implements IEditorContribution { ...@@ -226,7 +226,7 @@ export class CodeLensContribution implements IEditorContribution {
this._disposeAllLenses(undefined, undefined); this._disposeAllLenses(undefined, undefined);
} }
})); }));
this._localToDispose.add(this._editor.onMouseUp(e => { this._localToDispose.add(this._editor.onMouseDown(e => {
if (e.target.type !== MouseTargetType.CONTENT_WIDGET) { if (e.target.type !== MouseTargetType.CONTENT_WIDGET) {
return; return;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册