refactoring the code

This commit is contained in:
Aiday Marlen Kyzy
2023-07-14 11:18:41 +02:00
parent dff8892d43
commit 4635c352d4
@@ -216,6 +216,9 @@ export class ModesHoverController implements IEditorContribution {
this._glyphWidget.startShowingAt(target.position.lineNumber);
return;
}
if (this._contentWidget?.isFocused()) {
return;
}
if (!this._contentWidget?.widget.isResizing && !_sticky) {
this._hideWidgets();
}