mirror of
https://github.com/Anuken/Mindustry.git
synced 2024-12-22 23:14:00 +07:00
Closes Anuken/Mindustry-Suggestions/issues/5025
This commit is contained in:
parent
9df98c1962
commit
4f05904b4a
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user