Skip to content

Commit

Permalink
core: fix positioning of input-reconcile
Browse files Browse the repository at this point in the history
  • Loading branch information
tom95 committed Sep 22, 2023
1 parent c06e777 commit aedf2da
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/Sandblocks-TreeSitter/SBTSInputReconcile.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,10 @@ SBTSInputReconcile >> for: aTextMorph input: aString at: aNumber [
moveCursorToEnd;
queueUpdateSuggestionsFocused: true.

aNumber = 1 ifTrue: [self topRight: aTextMorph position] ifFalse: [
aNumber = 1 ifTrue: [self topRight: aTextMorph boundsInEditor topLeft] ifFalse: [
aTextMorph sourceString
ifEmpty: [self topLeft: aTextMorph topLeft]
ifNotEmpty: [self topLeft: aTextMorph topRight]].
ifEmpty: [self topLeft: aTextMorph boundsInEditor topLeft]
ifNotEmpty: [self topLeft: aTextMorph boundsInEditor topRight]].

self updateChoices
]
Expand Down

0 comments on commit aedf2da

Please sign in to comment.