diff options
author | wout <wout@impinc.co.uk> | 2013-03-13 13:46:49 +0100 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2013-03-13 13:46:49 +0100 |
commit | ff09596144c3fd6770d1dc64178a10c2432396ca (patch) | |
tree | 5244a87e84b18cc8b55d9c116401d3478e320f33 /src/bbox.js | |
parent | 4bd21ec64a0e3c1d4d0acf5685b2230285c7c16b (diff) | |
download | svg.js-ff09596144c3fd6770d1dc64178a10c2432396ca.tar.gz svg.js-ff09596144c3fd6770d1dc64178a10c2432396ca.zip |
Animation value clearance0.11
Diffstat (limited to 'src/bbox.js')
-rw-r--r-- | src/bbox.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bbox.js b/src/bbox.js index 6b9885a..c67d7c2 100644 --- a/src/bbox.js +++ b/src/bbox.js @@ -8,8 +8,8 @@ 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.cy = box.y + element.trans.y + box.height / 2 + this.cx = this.x + box.width / 2 + this.cy = this.x + box.height / 2 /* plain width and height */ this.width = box.width |