mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-31 15:09:07 +07:00
Layout fixes
This commit is contained in:
@ -29,7 +29,7 @@ allprojects{
|
||||
arcHash = null
|
||||
|
||||
debugged = {
|
||||
return new File(projectDir.parent, '../debug').exists() && !project.hasProperty("release")
|
||||
return new File(projectDir.parent, '../debug').exists() && !project.hasProperty("release") && project.hasProperty("args")
|
||||
}
|
||||
|
||||
localArc = {
|
||||
|
@ -266,7 +266,7 @@ public class MobileInput extends InputHandler implements GestureListener{
|
||||
public void buildUI(Table table){
|
||||
table.addImage("blank").color(Pal.accent).height(3f).colspan(4).growX();
|
||||
table.row();
|
||||
table.left().margin(0f).defaults().size(49f);
|
||||
table.left().margin(0f).defaults().size(48f);
|
||||
|
||||
table.addImageButton("icon-break", "clear-toggle-partial", 16 * 2f, () -> {
|
||||
mode = mode == breaking ? block == null ? none : placing : breaking;
|
||||
|
@ -34,9 +34,9 @@ public class DiscordDialog extends Dialog{
|
||||
}).size(h).left();
|
||||
|
||||
t.add("$discord").color(Pal.accent).growX().padLeft(10f);
|
||||
}).size(470f, h).pad(10f);
|
||||
}).size(440f, h).pad(10f);
|
||||
|
||||
buttons.defaults().size(170f, 50);
|
||||
buttons.defaults().size(150f, 50);
|
||||
|
||||
buttons.addButton("$back", this::hide);
|
||||
buttons.addButton("$copylink", () -> {
|
||||
|
@ -1,3 +1,3 @@
|
||||
org.gradle.daemon=true
|
||||
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
||||
android.enableD8=true
|
||||
android.enableD8.desugaring=false
|
Reference in New Issue
Block a user