Closes Anuken/Mindustry-Suggestions/issues/5025

This commit is contained in:
Anuken 2024-09-29 00:02:30 -04:00
parent 9df98c1962
commit 4f05904b4a

View File

@ -71,6 +71,13 @@ public class SchematicsDialog extends BaseDialog{
rebuildPane.run();
}).growX().get();
searchField.setMessageText("@schematic.search");
searchField.clicked(KeyCode.mouseRight, () -> {
if(!search.isEmpty()){
search = "";
searchField.clearText();
rebuildPane.run();
}
});
}).fillX().padBottom(4);
cont.row();