From 5ea3e2006da4210dff08e494456604a26c0b419c Mon Sep 17 00:00:00 2001 From: Anuken Date: Mon, 2 Jul 2018 23:07:14 -0400 Subject: [PATCH] Fixed squished buttons in main menu --- core/src/io/anuke/mindustry/ui/fragments/MenuFragment.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/io/anuke/mindustry/ui/fragments/MenuFragment.java b/core/src/io/anuke/mindustry/ui/fragments/MenuFragment.java index 9f76c487a9..2a9834943f 100644 --- a/core/src/io/anuke/mindustry/ui/fragments/MenuFragment.java +++ b/core/src/io/anuke/mindustry/ui/fragments/MenuFragment.java @@ -38,7 +38,7 @@ public class MenuFragment extends Fragment{ if(Platform.instance.hasDiscord()) { new table() {{ abottom().atop().aright(); - get().addButton("", "discord", ui.discord::show); + get().addButton("", "discord", ui.discord::show).size(81, 42); }}.end().visible(() -> state.is(State.menu)); } @@ -46,7 +46,7 @@ public class MenuFragment extends Fragment{ if(mobile) { new table() {{ abottom().atop().aleft(); - get().addButton("", "info", ui.about::show); + get().addButton("", "info", ui.about::show).size(81, 42); }}.end().visible(() -> state.is(State.menu)); }