Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed Nov 12, 2021
1 parent 22b53c1 commit e6a106f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/editor/contrib/suggest/suggestWidgetDetails.ts
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ export class SuggestDetailsOverlay implements IOverlayWidget {
}

placeAtAnchor(anchor: HTMLElement, preferAlignAtTop: boolean) {
const anchorBox = dom.getDomNodePagePosition(anchor);
const anchorBox = anchor.getBoundingClientRect();
this._anchorBox = anchorBox;
this._preferAlignAtTop = preferAlignAtTop;
this._placeAtAnchor(this._anchorBox, this._userSize ?? this.widget.size, preferAlignAtTop);
Expand Down

0 comments on commit e6a106f

Please sign in to comment.