Merged UnaryOp and BinaryOp

This commit is contained in:
Anuken
2020-08-23 10:14:04 -04:00
parent 92764c8389
commit 90b8910935
7 changed files with 198 additions and 205 deletions
+6 -1
View File
@@ -61,7 +61,12 @@ public class LogicDialog extends BaseDialog{
for(Prov<LStatement> prov : LogicIO.allStatements){
LStatement example = prov.get();
if(example instanceof InvalidStatement) continue;
t.button(example.name(), Styles.cleart, () -> {
TextButtonStyle style = new TextButtonStyle(Styles.cleart);
style.fontColor = example.category().color;
style.font = Fonts.outline;
t.button(example.name(), style, () -> {
canvas.add(prov.get());
dialog.hide();
}).size(140f, 50f);