Many various bugfixes
This commit is contained in:
@@ -129,9 +129,9 @@ public class SettingsMenuDialog extends SettingsDialog{
|
||||
sound.volumePrefs();
|
||||
|
||||
game.screenshakePref();
|
||||
game.checkPref("smoothcam", true);
|
||||
//game.checkPref("smoothcam", true);
|
||||
game.checkPref("effects", true);
|
||||
game.sliderPref("sensitivity", 100, 10, 300, i -> i + "%");
|
||||
//game.sliderPref("sensitivity", 100, 10, 300, i -> i + "%");
|
||||
game.sliderPref("saveinterval", 90, 10, 5*120, i -> Bundles.format("setting.seconds", i));
|
||||
|
||||
if(!gwt){
|
||||
@@ -160,8 +160,6 @@ public class SettingsMenuDialog extends SettingsDialog{
|
||||
|
||||
graphics.checkPref("fps", false);
|
||||
graphics.checkPref("lasers", true);
|
||||
graphics.sliderPref("previewopacity", 50, 0, 100, i -> i + "%");
|
||||
graphics.checkPref("indicators", true);
|
||||
graphics.checkPref("healthbars", true);
|
||||
graphics.checkPref("minimap", !mobile); //minimap is disabled by default on mobile devices
|
||||
}
|
||||
|
||||
@@ -45,7 +45,7 @@ public class UnlocksDialog extends FloatingDialog {
|
||||
table.table(list -> {
|
||||
list.left();
|
||||
|
||||
int maxWidth = UIUtils.portrait() ? 6 : 14;
|
||||
int maxWidth = UIUtils.portrait() ? 7 : 14;
|
||||
int size = 8*6;
|
||||
|
||||
int count = 0;
|
||||
|
||||
@@ -150,6 +150,7 @@ public class BlocksFragment extends Fragment{
|
||||
}
|
||||
lastCategory = cat;
|
||||
stack.act(Gdx.graphics.getDeltaTime());
|
||||
stack.act(Gdx.graphics.getDeltaTime());
|
||||
}).growX().height(54).group(group)
|
||||
.name("sectionbutton" + cat.name()).get();
|
||||
|
||||
@@ -251,10 +252,12 @@ public class BlocksFragment extends Fragment{
|
||||
recipeTable.add(image).size(size + 8);
|
||||
|
||||
image.update(() -> {
|
||||
for(Player player : players){
|
||||
if(control.input(player.playerIndex).recipe == r){
|
||||
image.setChecked(true);
|
||||
return;
|
||||
if(!image.isDisabled()) {
|
||||
for (Player player : players) {
|
||||
if (control.input(player.playerIndex).recipe == r) {
|
||||
image.setChecked(true);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
image.setChecked(false);
|
||||
|
||||
Reference in New Issue
Block a user