Fixed squished buttons in main menu
This commit is contained in:
@@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user