Skip to content

Commit 6d67967

Browse files
committed
Don't remove code for isHoverSticky
1 parent 5a927a7 commit 6d67967

File tree

1 file changed

+2
-2
lines changed
  • src/vs/editor/contrib/hover/browser

1 file changed

+2
-2
lines changed

src/vs/editor/contrib/hover/browser/hover.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@ export class ModesHoverController implements IEditorContribution {
166166
return;
167167
}
168168

169-
if (target.type === MouseTargetType.OVERLAY_WIDGET && target.detail === MarginHoverWidget.ID) {
170-
// mouse moved on top of overlay margin hover widget
169+
if (this._isHoverSticky && target.type === MouseTargetType.OVERLAY_WIDGET && target.detail === MarginHoverWidget.ID) {
170+
// mouse moved on top of overlay hover widget
171171
return;
172172
}
173173

0 commit comments

Comments
 (0)