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) { if (getPointCount() == PointCount.TWO) {
path.lineTo(p[1].x, p[1].y); path.lineTo(p[1].x, p[1].y);
} else if (getPointCount() == PointCount.THREE) { } 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) { } 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); 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) { } else if (getPointCount() == PointCount.FIVE) {
Binary file not shown.
Binary file not shown.
+4
View File
@@ -2014,6 +2014,10 @@
<changeType>BUG_FIX</changeType> <changeType>BUG_FIX</changeType>
<description>Fixed selection issues on right click in OSX</description> <description>Fixed selection issues on right click in OSX</description>
</org.diylc.appframework.update.Change> </org.diylc.appframework.update.Change>
<org.diylc.appframework.update.Change>
<changeType>BUG_FIX</changeType>
<description>Reverted undesired change for four-point curved traces and wires which made them slightly more curved than before</description>
</org.diylc.appframework.update.Change>
</changes> </changes>
<url>https://github.com/bancika/diy-layout-creator/releases</url> <url>https://github.com/bancika/diy-layout-creator/releases</url>
</org.diylc.appframework.update.Version> </org.diylc.appframework.update.Version>