Fixed Atolls localization with new tutorial

This commit is contained in:
Anuken
2026-01-13 00:52:53 -05:00
parent 6313a2b5cc
commit 42edaceafc
3 changed files with 22 additions and 12 deletions

View File

@@ -282,7 +282,7 @@ public class LogicDialog extends BaseDialog{
search.keyDown(KeyCode.enter, () -> {
if(!searchText[0].isEmpty() && matched[0] != null){
canvas.add((LStatement)matched[0].get());
canvas.addAt(position == -1 ? canvas.statements.getChildren().size : position, (LStatement)matched[0].get());
dialog.hide();
}
});