Skip to content

Commit 4635c35

Browse files
committed
refactoring the code
1 parent dff8892 commit 4635c35

File tree

1 file changed

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

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,9 @@ export class ModesHoverController implements IEditorContribution {
216216
this._glyphWidget.startShowingAt(target.position.lineNumber);
217217
return;
218218
}
219+
if (this._contentWidget?.isFocused()) {
220+
return;
221+
}
219222
if (!this._contentWidget?.widget.isResizing && !_sticky) {
220223
this._hideWidgets();
221224
}

0 commit comments

Comments
 (0)