mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-23 22:28:08 +07:00
Fixed squished buttons in main menu
This commit is contained in:
@ -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));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user