File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed
src/vs/editor/contrib/hover/browser Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -263,9 +263,6 @@ export class ContentHoverController extends Disposable {
263263 return ;
264264 }
265265 }
266- if ( hoverResult . messages . length === 0 && this . _widget . isFocused ) {
267- return ;
268- }
269266 this . _setCurrentResult ( hoverResult ) ;
270267 }
271268
Original file line number Diff line number Diff line change @@ -155,6 +155,10 @@ export class ModesHoverController implements IEditorContribution {
155155 private _onEditorMouseMove ( mouseEvent : IEditorMouseEvent ) : void {
156156 const target = mouseEvent . target ;
157157
158+ if ( this . _contentWidget ?. isFocused ( ) || this . _contentWidget ?. widget . isResizing ) {
159+ return ;
160+ }
161+
158162 if ( this . _isMouseDown && this . _hoverClicked ) {
159163 return ;
160164 }
@@ -216,11 +220,7 @@ export class ModesHoverController implements IEditorContribution {
216220 this . _glyphWidget . startShowingAt ( target . position . lineNumber ) ;
217221 return ;
218222 }
219- if (
220- this . _contentWidget ?. isFocused ( )
221- || this . _contentWidget ?. widget . isResizing
222- || _sticky
223- ) {
223+ if ( _sticky ) {
224224 return ;
225225 }
226226 this . _hideWidgets ( ) ;
You can’t perform that action at this time.
0 commit comments