Centralizing some of the layout code

This commit is contained in:
Jeff Avallone
2014-12-09 19:02:31 -05:00
parent 7ed865ecdb
commit cd11b7e6e5
9 changed files with 69 additions and 37 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ export default class Regexper {
result.position();
box = result.container.getBBox();
box = result.getBBox();
result.container.transform(Snap.matrix()
.translate(padding - box.x, padding - box.y));
snap.attr({