mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-04-21 04:50:59 -07:00
commit
ca931987c4
1 changed files with 4 additions and 4 deletions
|
|
@ -188,6 +188,10 @@ public class ModsDialog extends BaseDialog{
|
|||
modSelected.cont.add(modsbrolist.description).width(mobile ? 400f : 500f).wrap().pad(4f).get().setAlignment(Align.center, Align.center);
|
||||
modSelected.buttons.defaults().size(200f, 54f).pad(2f);
|
||||
modSelected.setFillParent(false);
|
||||
modSelected.buttons.button("$back", Icon.left, () -> {
|
||||
modSelected.clear();
|
||||
modSelected.hide();
|
||||
});
|
||||
modSelected.buttons.button("$mods.browser.add", Icon.download, () -> {
|
||||
modSelected.hide();
|
||||
installMod[0] = () -> {
|
||||
|
|
@ -226,10 +230,6 @@ public class ModsDialog extends BaseDialog{
|
|||
};
|
||||
openGithubPage[0].run();
|
||||
});
|
||||
modSelected.buttons.button("$back", Icon.left, () -> {
|
||||
modSelected.clear();
|
||||
modSelected.hide();
|
||||
});
|
||||
modSelected.keyDown(KeyCode.escape, modSelected::hide);
|
||||
modSelected.keyDown(KeyCode.back, modSelected::hide);
|
||||
modSelected.show();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue