Tweaking connector lines
This commit is contained in:
parent
975780609d
commit
e6e8a1ed54
@ -42,7 +42,7 @@ export default _.extend({}, Base, {
|
|||||||
if (distance >= 15) {
|
if (distance >= 15) {
|
||||||
pathStr = 'M10,{box.cy}m0,{shift}q0,{curve} 10,{curve}h{box.x}';
|
pathStr = 'M10,{box.cy}m0,{shift}q0,{curve} 10,{curve}h{box.x}';
|
||||||
} else {
|
} else {
|
||||||
pathStr = 'M0,{containerBox.cy}c20,0 20,{anchor.y} {anchor.x},{anchor.y}';
|
pathStr = 'M0,{containerBox.cy}c10,0 10,{anchor.y} {anchor.x},{anchor.y}';
|
||||||
}
|
}
|
||||||
|
|
||||||
return Snap.format(pathStr, {
|
return Snap.format(pathStr, {
|
||||||
|
Loading…
Reference in New Issue
Block a user