[QOL] Search Schematic (#2089)

* autofocus implementation

* enter to select first schematic implementation

* fix undeclared variable

* fix import
This commit is contained in:
zethnest
2020-05-22 21:37:08 +08:00
committed by GitHub
parent 88608b3f88
commit 8e0fa30439
2 changed files with 24 additions and 2 deletions

View File

@ -386,6 +386,7 @@ public class DesktopInput extends InputHandler{
ui.schematics.hide();
}else{
ui.schematics.show();
ui.schematics.focusSearchField();
}
}