Add ability to merge disjoint continuity areas

This commit is contained in:
bancika
2020-03-30 13:56:42 +02:00
parent 21fa33c74a
commit a37b1e49e3
8 changed files with 153 additions and 41 deletions
@@ -324,7 +324,8 @@ public class Breadboard extends AbstractComponent<Void> {
@Override
public Point getControlPoint(int index) {
if (index == 0)
return point;
return point;
// create a synthetic second control point for clipping check and to make sure that we cannot drag the right side of the board off the screen
double spacing = SPACING.convertToPixels();
int holeCount = getBreadboardSize() == BreadboardSize.Full ? 63 : 30;
// adjust the angle