Release 4.31.0

This commit is contained in:
Bane Stojkovic
2022-10-31 22:08:12 +01:00
parent 86acda3f46
commit 0778def541
7 changed files with 26 additions and 8 deletions
Binary file not shown.
@@ -100,15 +100,13 @@ public class SwitchLatchingSymbol
// draw latch
int throwCount = configuration.getThrowCount();
for (int j = 0; j < poleCount.getCount(); j++) {
double offset = terminalSize * 3 / 5;
Point2D startPoint = new Point2D.Double(controlPoints[(1 + throwCount) * j].getX() + Math.cos(theta) * offset,
controlPoints[(1 + throwCount) * j].getY() + Math.sin(theta) * offset);
Point2D startPoint = new Point2D.Double(controlPoints[(1 + throwCount) * j].getX() ,
controlPoints[(1 + throwCount) * j].getY());
double offsetX;
double offsetY;
if ("SHORT".equalsIgnoreCase(configuration.getInBetween())) {
offsetX = terminalSize * 6 / 5;
offsetX = terminalSize;
offsetY = 0;
} else {
offsetX = terminalSize * 2 / 3;