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 {
263
263
return ;
264
264
}
265
265
}
266
- if ( hoverResult . messages . length === 0 && this . _widget . isFocused ) {
267
- return ;
268
- }
269
266
this . _setCurrentResult ( hoverResult ) ;
270
267
}
271
268
Original file line number Diff line number Diff line change @@ -155,6 +155,10 @@ export class ModesHoverController implements IEditorContribution {
155
155
private _onEditorMouseMove ( mouseEvent : IEditorMouseEvent ) : void {
156
156
const target = mouseEvent . target ;
157
157
158
+ if ( this . _contentWidget ?. isFocused ( ) || this . _contentWidget ?. widget . isResizing ) {
159
+ return ;
160
+ }
161
+
158
162
if ( this . _isMouseDown && this . _hoverClicked ) {
159
163
return ;
160
164
}
@@ -216,11 +220,7 @@ export class ModesHoverController implements IEditorContribution {
216
220
this . _glyphWidget . startShowingAt ( target . position . lineNumber ) ;
217
221
return ;
218
222
}
219
- if (
220
- this . _contentWidget ?. isFocused ( )
221
- || this . _contentWidget ?. widget . isResizing
222
- || _sticky
223
- ) {
223
+ if ( _sticky ) {
224
224
return ;
225
225
}
226
226
this . _hideWidgets ( ) ;
You can’t perform that action at this time.
0 commit comments