Status apply statement cleanup
Some checks failed
Validate Gradle Wrapper / Validation (push) Successful in 52s
Tests / runPush (push) Failing after 27m55s

This commit is contained in:
Anuken 2024-12-11 14:14:08 -05:00
parent e94fd845eb
commit 1dacb7989e

View File

@ -1324,15 +1324,11 @@ public class LStatements{
@Override
public void build(Table table){
rebuild(table);
}
void rebuild(Table table){
table.clearChildren();
table.button(clear ? "clear" : "apply", Styles.logict, () -> {
clear = !clear;
rebuild(table);
build(table);
}).size(80f, 40f).pad(4f).color(table.color);
if(statusNames == null){
@ -1343,11 +1339,10 @@ public class LStatements{
b.label(() -> effect).grow().wrap().labelAlign(Align.center).center();
b.clicked(() -> showSelect(b, statusNames, effect, o -> {
effect = o;
build(table);
}, 2, c -> c.size(120f, 38f)));
}, Styles.logict, () -> {}).size(120f, 40f).pad(4f).color(table.color);
//TODO effect select
table.add(clear ? " from " : " to ");
row(table);