minor change

This commit is contained in:
Mathew Pareles 2025-03-30 23:56:35 -07:00
parent 3c186031be
commit 599d80dcc3

View file

@ -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)
}