|
@@ -138,8 +138,8 @@ export default class EdgeService {
|
|
|
|
|
|
newEdgePoint1 = mathUtil.getJoinLinePoint(startPoint1, lineLeft2);
|
|
|
newEdgePoint2 = mathUtil.getJoinLinePoint(startPoint1, lineRight2);
|
|
|
- mathUtil.clonePoint(rightEdge2.start, newEdgePoint1);
|
|
|
- mathUtil.clonePoint(leftEdge2.start, newEdgePoint2);
|
|
|
+ mathUtil.clonePoint(leftEdge2.start, newEdgePoint1);
|
|
|
+ mathUtil.clonePoint(rightEdge2.start, newEdgePoint2);
|
|
|
} else {
|
|
|
newEdgePoint1 = mathUtil.getIntersectionPoint(lineLeft1, lineRight2);
|
|
|
newEdgePoint2 = mathUtil.getIntersectionPoint(lineLeft2, lineRight1);
|
|
@@ -373,8 +373,8 @@ export default class EdgeService {
|
|
|
|
|
|
newEdgePoint1 = mathUtil.getJoinLinePoint(endPoint1, lineLeft2);
|
|
|
newEdgePoint2 = mathUtil.getJoinLinePoint(endPoint1, lineRight2);
|
|
|
- mathUtil.clonePoint(rightEdge2.end, newEdgePoint1);
|
|
|
- mathUtil.clonePoint(leftEdge2.end, newEdgePoint2);
|
|
|
+ mathUtil.clonePoint(leftEdge2.end, newEdgePoint1);
|
|
|
+ mathUtil.clonePoint(rightEdge2.end, newEdgePoint2);
|
|
|
} else {
|
|
|
newEdgePoint1 = mathUtil.getIntersectionPoint(lineLeft1, lineRight2);
|
|
|
newEdgePoint2 = mathUtil.getIntersectionPoint(lineLeft2, lineRight1);
|