diff options
author | wout <wout@impinc.co.uk> | 2014-03-04 22:19:01 +0100 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2014-03-04 22:19:01 +0100 |
commit | 1286e3de26baa3d75ec6a6eafbb2eaa11305c2e1 (patch) | |
tree | b39257a6256836b9e645f5e5faf37adcbe8d4c4d /src/relative.js | |
parent | f3b9e808601e8aa250b9373447527ca67ba75ec4 (diff) | |
download | svg.js-1286e3de26baa3d75ec6a6eafbb2eaa11305c2e1.tar.gz svg.js-1286e3de26baa3d75ec6a6eafbb2eaa11305c2e1.zip |
Bumped to 1.0.0-rc.6
Diffstat (limited to 'src/relative.js')
-rwxr-xr-x | src/relative.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/relative.js b/src/relative.js index 7759bb9..6bb11b7 100755 --- a/src/relative.js +++ b/src/relative.js @@ -2,11 +2,11 @@ SVG.extend(SVG.Element, SVG.FX, { // Relative move over x axis dx: function(x) { - return this.x(this.x() + x) + return this.x((this.target || this).x() + x) } // Relative move over y axis , dy: function(y) { - return this.y(this.y() + y) + return this.y((this.target || this).y() + y) } // Relative move over x and y axes , dmove: function(x, y) { |