1
0
mirror of https://github.com/Anuken/Mindustry.git synced 2024-09-22 13:57:46 +03:00

Fixed squished buttons in main menu

This commit is contained in:
Anuken 2018-07-02 23:07:14 -04:00
parent bd914bf42a
commit 5ea3e2006d

View File

@ -38,7 +38,7 @@ public class MenuFragment extends Fragment{
if(Platform.instance.hasDiscord()) { if(Platform.instance.hasDiscord()) {
new table() {{ new table() {{
abottom().atop().aright(); abottom().atop().aright();
get().addButton("", "discord", ui.discord::show); get().addButton("", "discord", ui.discord::show).size(81, 42);
}}.end().visible(() -> state.is(State.menu)); }}.end().visible(() -> state.is(State.menu));
} }
@ -46,7 +46,7 @@ public class MenuFragment extends Fragment{
if(mobile) { if(mobile) {
new table() {{ new table() {{
abottom().atop().aleft(); abottom().atop().aleft();
get().addButton("", "info", ui.about::show); get().addButton("", "info", ui.about::show).size(81, 42);
}}.end().visible(() -> state.is(State.menu)); }}.end().visible(() -> state.is(State.menu));
} }