Pathfinding bugfixes / Logic dialog hiding "unfixed"
This commit is contained in:
@@ -577,7 +577,7 @@ public class LogicBlock extends Block{
|
||||
@Override
|
||||
public void buildConfiguration(Table table){
|
||||
table.button(Icon.pencil, Styles.cleari, () -> {
|
||||
ui.logic.show(code, executor, privileged, this, code -> configure(compress(code, relativeConnections())));
|
||||
ui.logic.show(code, executor, privileged, code -> configure(compress(code, relativeConnections())));
|
||||
}).size(40);
|
||||
}
|
||||
|
||||
|
||||
@@ -27,7 +27,8 @@ public class LogicDisplay extends Block{
|
||||
commandPoly = 7,
|
||||
commandLinePoly = 8,
|
||||
commandTriangle = 9,
|
||||
commandImage = 10;
|
||||
commandImage = 10,
|
||||
commandCharacter = 11;
|
||||
|
||||
public int maxSides = 25;
|
||||
|
||||
@@ -102,6 +103,9 @@ public class LogicDisplay extends Block{
|
||||
var icon = Fonts.logicIcon(p1);
|
||||
Draw.rect(Fonts.logicIcon(p1), x, y, p2, p2 / icon.ratio(), p3);
|
||||
}
|
||||
case commandCharacter -> {
|
||||
//TODO
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -146,7 +150,8 @@ public class LogicDisplay extends Block{
|
||||
poly,
|
||||
linePoly,
|
||||
triangle,
|
||||
image,;
|
||||
image,
|
||||
;//character;
|
||||
|
||||
public static final GraphicsType[] all = values();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user