diff --git a/core/src/io/anuke/mindustry/ui/dialogs/ModsDialog.java b/core/src/io/anuke/mindustry/ui/dialogs/ModsDialog.java index c0a42d71a7..f003cdc2f2 100644 --- a/core/src/io/anuke/mindustry/ui/dialogs/ModsDialog.java +++ b/core/src/io/anuke/mindustry/ui/dialogs/ModsDialog.java @@ -30,7 +30,7 @@ public class ModsDialog extends FloatingDialog{ .size(210f, 64f); buttons.addImageTextButton("$mod.import.github", Icon.github, () -> { - ui.showTextInput("$mod.import.github", "", "Anuken/ExampleMod", text -> { + ui.showTextInput("$mod.import.github", "", 64, "Anuken/ExampleMod", text -> { ui.loadfrag.show(); Core.net.httpGet("http://api.github.com/repos/" + text + "/zipball/master", loc -> { Core.net.httpGet(loc.getHeader("Location"), result -> { @@ -146,4 +146,4 @@ public class ModsDialog extends FloatingDialog{ }); }).margin(12f).width(500f); } -} \ No newline at end of file +}