diff --git a/src/vs/workbench/contrib/void/browser/voidSelectionHelperWidget.ts b/src/vs/workbench/contrib/void/browser/voidSelectionHelperWidget.ts index 9dcac355..cd0df1e7 100644 --- a/src/vs/workbench/contrib/void/browser/voidSelectionHelperWidget.ts +++ b/src/vs/workbench/contrib/void/browser/voidSelectionHelperWidget.ts @@ -219,8 +219,8 @@ export class SelectionHelperContribution extends Disposable implements IEditorCo } } } - if (boxPos.left > maxLeftPx) { // if still not found, make it the line before - boxPos = getBoxPosition(targetLine - 1) + if (boxPos.left > maxLeftPx) { // if still not found, make it 2 lines before + boxPos = getBoxPosition(targetLine - 2) }