Tweaking connector lines

This commit is contained in:
Jeff Avallone 2014-12-09 21:04:14 -05:00
parent 975780609d
commit e6e8a1ed54

View File

@ -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, {