mirror of
https://github.com/voideditor/void
synced 2026-05-24 09:58:23 +00:00
minor change
This commit is contained in:
parent
3c186031be
commit
599d80dcc3
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue