Crash fixes

This commit is contained in:
Anuken
2018-11-28 18:43:35 -05:00
parent 75d2ea1519
commit f3d35e9537
5 changed files with 4 additions and 7 deletions

View File

@@ -108,7 +108,7 @@ public class AboutDialog extends FloatingDialog{
dialog.content().row();
dialog.content().add("$text.contributors");
dialog.content().row();
dialog.content().pane("clear", new Table(){{
dialog.content().pane(new Table(){{
int i = 0;
left();
for(Contributor c : contributors){

View File

@@ -116,7 +116,7 @@ public class MapsDialog extends FloatingDialog{
table.stack(new Image(map.texture).setScaling(Scaling.fit), new BorderImage(map.texture).setScaling(Scaling.fit)).size(mapsize);
table.table("clear", desc -> {
table.table("flat", desc -> {
desc.top();
Table t = new Table();
t.margin(6);

View File

@@ -150,7 +150,7 @@ public class HudFragment extends Fragment{
//paused table
parent.fill(t -> {
t.top().visible(() -> state.is(State.paused) && !Net.active());
t.table("clear", top -> top.add("$text.paused").pad(6).get().setFontScale(1.5f));
t.table("button", top -> top.add("$text.paused").pad(6f));
});
parent.fill(t -> {