diff options
author | wout <wout@impinc.co.uk> | 2014-09-03 15:57:39 +0200 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2014-09-03 15:57:39 +0200 |
commit | 89f3a26e94e716fc8ed14a44a273013ff7ef1cea (patch) | |
tree | 4f91420b8914b0f0a94004cefd88e0acc8877b0a /src/boxes.js | |
parent | 2649e3153e82f840365ce26564be96e0385199ce (diff) | |
download | svg.js-89f3a26e94e716fc8ed14a44a273013ff7ef1cea.tar.gz svg.js-89f3a26e94e716fc8ed14a44a273013ff7ef1cea.zip |
Fix in RBox
Diffstat (limited to 'src/boxes.js')
-rwxr-xr-x | src/boxes.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/boxes.js b/src/boxes.js index 6451be8..9d214e3 100755 --- a/src/boxes.js +++ b/src/boxes.js @@ -58,9 +58,8 @@ SVG.TBox = SVG.invent({ this.height = box.height * t.scaleY // x and y including transformations - box = element.rbox() - this.x = box.x - this.y = box.y + this.x = box.x + t.x + this.y = box.y + t.y } // add center, right and bottom |