未验证 提交 54dc2d78 编写于 作者: A Alexandru Dima 提交者: GitHub

Merge pull request #112384 from myovan/master

Fixed Issue #110225 - Dragging to select text on Peek window should not hide it
......@@ -162,6 +162,10 @@ export class ModesHoverController implements IEditorContribution {
return;
}
if (this._isHoverSticky && !mouseEvent.event.browserEvent.view?.getSelection()?.isCollapsed) {
// selected text within content hover widget
return;
}
if (
!this._isHoverSticky && targetType === MouseTargetType.CONTENT_WIDGET && mouseEvent.target.detail === ModesContentHoverWidget.ID
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册