Fixed no-wave FPS display / Fixed unit pad inventories
This commit is contained in:
@@ -97,7 +97,7 @@ public class HudFragment extends Fragment{
|
||||
|
||||
cont.row();
|
||||
|
||||
cont.table(this::addWaveTable).touchable(Touchable.enabled).fillX().height(66f);
|
||||
Table waves = cont.table(this::addWaveTable).touchable(Touchable.enabled).fillX().height(66f).get();
|
||||
|
||||
cont.row();
|
||||
|
||||
@@ -112,7 +112,9 @@ public class HudFragment extends Fragment{
|
||||
if(Net.hasClient()){
|
||||
t.label(() -> ping.get(Net.getPing())).visible(() -> Net.client() && !gwt).colspan(2);
|
||||
}
|
||||
}).size(-1).visible(() -> Settings.getBool("fps")).get();
|
||||
}).size(-1).visible(() -> Settings.getBool("fps")).update(t -> {
|
||||
t.setTranslation(0, state.mode.disableWaves ? waves.getHeight() : 0);
|
||||
}).get();
|
||||
|
||||
//make wave box appear below rest of menu
|
||||
cont.swapActor(wavetable, menu.getParent());
|
||||
|
||||
Reference in New Issue
Block a user