Reverted undesired change for four-point curved traces and wires which

made them slightly more curved than before
This commit is contained in:
Branislav Stojkovic
2018-12-24 00:40:10 +01:00
parent 56a97f28b9
commit 1188a2e3c6
4 changed files with 5 additions and 1 deletions
@@ -128,7 +128,7 @@ public abstract class AbstractCurvedComponent<T> extends AbstractTransparentComp
if (getPointCount() == PointCount.TWO) {
path.lineTo(p[1].x, p[1].y);
} else if (getPointCount() == PointCount.THREE) {
path.quadTo(p[1].x, p[1].y, p[2].x, p[2].y);
path.curveTo(p[1].x, p[1].y, p[1].x, p[1].y, p[2].x, p[2].y);
} else if (getPointCount() == PointCount.FOUR) {
path.curveTo(p[1].x, p[1].y, p[2].x, p[2].y, p[3].x, p[3].y);
} else if (getPointCount() == PointCount.FIVE) {