提交 93d736db 编写于 作者: R rebornix

fix #93326.

上级 e026e9a7
......@@ -162,6 +162,15 @@ export class ModesHoverController implements IEditorContribution {
return;
}
if (
!this._isHoverSticky && targetType === MouseTargetType.CONTENT_WIDGET && mouseEvent.target.detail === ModesContentHoverWidget.ID
&& this._contentWidget.value?.isColorPickerVisible()
) {
// though the hover is not sticky, the color picker needs to.
return;
}
if (this._isHoverSticky && targetType === MouseTargetType.OVERLAY_WIDGET && mouseEvent.target.detail === ModesGlyphHoverWidget.ID) {
// mouse moved on top of overlay hover widget
return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册