Centralizing some of the layout code
This commit is contained in:
+1
-1
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user