diff options
Diffstat (limited to 'src/bbox.js')
-rw-r--r-- | src/bbox.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bbox.js b/src/bbox.js index d70ac68..6b9885a 100644 --- a/src/bbox.js +++ b/src/bbox.js @@ -8,7 +8,7 @@ SVG.BBox = function(element) { this.y = box.y + element.trans.y /* add the center */ - this.cx = box.x + element.trans.x + box.width / 2 + this.cx = box.x + element.trans.x + box.width / 2 this.cy = box.y + element.trans.y + box.height / 2 /* plain width and height */ |