Closes Anuken/Mindustry-Suggestions/issues/4456

This commit is contained in:
Anuken
2023-06-02 11:56:08 -04:00
parent 2f675a3b75
commit 4dd414c22f
5 changed files with 15 additions and 6 deletions

View File

@@ -704,7 +704,7 @@ public class LStatements{
@Override
public void build(Table table){
fields(table, result, str -> result = str);
fields(table, result, str -> result = str).width(120f);
table.add(" = lookup ");
@@ -1632,11 +1632,13 @@ public class LStatements{
@Override
public void build(Table table){
fields(table, result, str -> result = str);
float width = LCanvas.useRows() ? 100f : 190f;
fields(table, result, str -> result = str).width(width);
table.add(" = flag ");
fields(table, flag, str -> flag = str);
fields(table, flag, str -> flag = str).width(width);
}
@Override
@@ -1661,11 +1663,13 @@ public class LStatements{
@Override
public void build(Table table){
fields(table, flag, str -> flag = str);
float width = LCanvas.useRows() ? 100f : 190f;
fields(table, flag, str -> flag = str).width(width);
table.add(" = ");
fields(table, value, str -> value = str);
fields(table, value, str -> value = str).width(width);
}
@Override