mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-10 09:12:09 +10:00
Applying a variant to a 'Hookup Wire' or 'Curved Trace' makes it lose its shape
This commit is contained in:
@@ -201,6 +201,9 @@ public abstract class AbstractCurvedComponent<T> extends AbstractTransparentComp
|
||||
}
|
||||
|
||||
public void setPointCount(PointCount pointCount) {
|
||||
if (this.pointCount == pointCount)
|
||||
return;
|
||||
|
||||
Point2D[] p = getControlPoints();
|
||||
Point2D[] newPoints = new Point2D[pointCount.count];
|
||||
newPoints[0] = p[0];
|
||||
|
||||
@@ -345,6 +345,10 @@
|
||||
<changeType>IMPROVEMENT</changeType>
|
||||
<description>Fully configurable colors for 'Mini Toggle Switch' components</description>
|
||||
</org.diylc.appframework.update.Change>
|
||||
<org.diylc.appframework.update.Change>
|
||||
<changeType>BUG_FIX</changeType>
|
||||
<description>Applying a variant to a 'Hookup Wire' or 'Curved Trace' makes it lose its shape</description>
|
||||
</org.diylc.appframework.update.Change>
|
||||
<org.diylc.appframework.update.Change>
|
||||
<changeType>BUG_FIX</changeType>
|
||||
<description>Copy operation doesn't work when certain component types are selected</description>
|
||||
|
||||
Reference in New Issue
Block a user