Fixed black blocks/units after quit / Fixed intense wave spawn lag
This commit is contained in:
@@ -93,7 +93,7 @@ public class CustomRulesDialog extends FloatingDialog{
|
||||
}
|
||||
|
||||
void check(String text, BooleanConsumer cons, BooleanProvider prov, BooleanProvider condition){
|
||||
main.addCheck(text, cons).checked(prov.get()).update(a -> a.setDisabled(!condition.get())).padRight(100f);
|
||||
main.addCheck(text, cons).checked(prov.get()).update(a -> a.setDisabled(!condition.get())).padRight(100f).get().left();
|
||||
main.row();
|
||||
}
|
||||
|
||||
|
||||
@@ -79,7 +79,7 @@ public class MapsDialog extends FloatingDialog{
|
||||
ScrollPane pane = new ScrollPane(maps);
|
||||
pane.setFadeScrollBars(false);
|
||||
|
||||
int maxwidth = 4;
|
||||
int maxwidth = Core.graphics.isPortrait() ? 2 : 4;
|
||||
float mapsize = 200f;
|
||||
|
||||
int i = 0;
|
||||
|
||||
Reference in New Issue
Block a user