Fixing root node positioning
This commit is contained in:
parent
40ac83ab91
commit
a30c16a940
@ -22,9 +22,9 @@ export default _.extend({}, Base, {
|
|||||||
contentBox = this.regexp.getBBox();
|
contentBox = this.regexp.getBBox();
|
||||||
|
|
||||||
this.start.transform(Snap.matrix()
|
this.start.transform(Snap.matrix()
|
||||||
.translate(0, contentBox.cy));
|
.translate(0, contentBox.ay));
|
||||||
this.end.transform(Snap.matrix()
|
this.end.transform(Snap.matrix()
|
||||||
.translate(contentBox.x2 + 10, contentBox.cy));
|
.translate(contentBox.x2 + 10, contentBox.ay));
|
||||||
}).bind(this));
|
}).bind(this));
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user