Fixing root node positioning

This commit is contained in:
Jeff Avallone 2014-12-14 19:29:45 -05:00
parent 40ac83ab91
commit a30c16a940

View File

@ -22,9 +22,9 @@ export default _.extend({}, Base, {
contentBox = this.regexp.getBBox();
this.start.transform(Snap.matrix()
.translate(0, contentBox.cy));
.translate(0, contentBox.ay));
this.end.transform(Snap.matrix()
.translate(contentBox.x2 + 10, contentBox.cy));
.translate(contentBox.x2 + 10, contentBox.ay));
}).bind(this));
},