mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-11 01:32:08 +10:00
Do not allow for components like traces, jumpers and wires to be reduced
to nothing by dragging connected components
This commit is contained in:
@@ -1373,6 +1373,9 @@ public class Presenter implements IPlugInPort {
|
||||
// At least one control point went out of bounds.
|
||||
return null;
|
||||
}
|
||||
} else {
|
||||
// for non-affected points just add extra space so we are comparing apples with apples later
|
||||
controlPoints[index].setLocation(controlPoints[index].getX() + extraSpace, controlPoints[index].getY() + extraSpace);
|
||||
}
|
||||
// For control points that may overlap, just write null,
|
||||
// we'll ignore them later.
|
||||
|
||||
@@ -3297,7 +3297,11 @@
|
||||
<org.diylc.appframework.update.Change>
|
||||
<changeType>IMPROVEMENT</changeType>
|
||||
<description>Apply context menu rotation and mirroring to SMD components</description>
|
||||
</org.diylc.appframework.update.Change>
|
||||
</org.diylc.appframework.update.Change>
|
||||
<org.diylc.appframework.update.Change>
|
||||
<changeType>IMPROVEMENT</changeType>
|
||||
<description>Do not allow for components like traces, jumpers and wires to be reduced to nothing by dragging connected components</description>
|
||||
</org.diylc.appframework.update.Change>
|
||||
</changes>
|
||||
<url>https://github.com/bancika/diy-layout-creator/releases</url>
|
||||
</org.diylc.appframework.update.Version>
|
||||
|
||||
Reference in New Issue
Block a user