Skip to content

Commit 3ab9cbc

Browse files
committed
simplfying the code
1 parent d017077 commit 3ab9cbc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -732,9 +732,7 @@ export class ResizableHoverWidget extends MultiplePersistedSizeResizableContentW
732732

733733
// See https://github.com/microsoft/vscode/issues/140339
734734
// TODO: Doing a second layout of the hover after force rendering the editor
735-
if (!this.findPersistedSize()) {
736-
this.onContentsChanged();
737-
}
735+
this.onContentsChanged();
738736
if (visibleData.stoleFocus) {
739737
this._hoverWidget.containerDomNode.focus();
740738
}

0 commit comments

Comments
 (0)