mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-12 00:17:51 +00:00
Recipe search improvement (#706)
Co-authored-by: Martin Robertz <dream-master@gmx.net>
This commit is contained in:
1 parent
bba0a11466
commit
b1bedcf403
38 files changed
+733
-664
No files matched your search
@@ -20,9 +20,11 @@ public abstract class RecipeSearchField extends TextField implements ItemFilterP
|
||||
|
||||
@Override
|
||||
protected void initInternalTextField() {
|
||||
field = new GuiSearchField();
|
||||
final GuiSearchField field = new GuiSearchField();
|
||||
field.setMaxStringLength(maxSearchLength);
|
||||
field.setCursorPositionZero();
|
||||
((SearchTextFormatter) field.getFormatter()).setContextToken("<>");
|
||||
this.field = field;
|
||||
}
|
||||
|
||||
public boolean isVisible() {
|
||||
|
||||
Reference in new issue
Block a user