diff --git a/diylc/diylc-core/src/org/diylc/presenter/Presenter.java b/diylc/diylc-core/src/org/diylc/presenter/Presenter.java index f1a9aad1..e1cc9436 100644 --- a/diylc/diylc-core/src/org/diylc/presenter/Presenter.java +++ b/diylc/diylc-core/src/org/diylc/presenter/Presenter.java @@ -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. diff --git a/diylc/diylc-core/src/org/diylc/presenter/update.xml b/diylc/diylc-core/src/org/diylc/presenter/update.xml index 03aac6b5..823bafdd 100644 --- a/diylc/diylc-core/src/org/diylc/presenter/update.xml +++ b/diylc/diylc-core/src/org/diylc/presenter/update.xml @@ -3297,7 +3297,11 @@ IMPROVEMENT Apply context menu rotation and mirroring to SMD components - + + + IMPROVEMENT + Do not allow for components like traces, jumpers and wires to be reduced to nothing by dragging connected components + https://github.com/bancika/diy-layout-creator/releases