diff --git a/src/vs/editor/contrib/hover/browser/hover.ts b/src/vs/editor/contrib/hover/browser/hover.ts index 3520a4bea260e..d2d82505fd0e2 100644 --- a/src/vs/editor/contrib/hover/browser/hover.ts +++ b/src/vs/editor/contrib/hover/browser/hover.ts @@ -236,8 +236,7 @@ export class HoverController extends Disposable implements IEditorContribution { // When the alt key is pressed, hover remains visible return; } - if (this._contentWidget?.isFocused || this._contentWidget?.isResizing - ) { + if (this._contentWidget?.isFocused || this._contentWidget?.isResizing) { return; } if (this._hoverState.mouseDown && this._hoverState.contentHoverFocused) {