summaryrefslogtreecommitdiffstats
path: root/dist/svg.js
diff options
context:
space:
mode:
Diffstat (limited to 'dist/svg.js')
-rw-r--r--dist/svg.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/dist/svg.js b/dist/svg.js
index d048b17..67ff3d4 100644
--- a/dist/svg.js
+++ b/dist/svg.js
@@ -6,7 +6,7 @@
* @copyright Wout Fierens <wout@mick-wout.com>
* @license MIT
*
-* BUILT: Sun Mar 05 2017 13:49:40 GMT+0100 (Mitteleuropäische Zeit)
+* BUILT: Sun Mar 05 2017 14:05:04 GMT+0100 (Mitteleuropäische Zeit)
*/;
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
@@ -4927,11 +4927,11 @@ SVG.extend(SVG.Element, SVG.FX, {
}
// Relative move over x axis
, dx: function(x) {
- return this.x((this instanceof SVG.FX ? 0 : this.x()) + x, true)
+ return this.x(new SVG.Number(x).plus(this instanceof SVG.FX ? 0 : this.x()), true)
}
// Relative move over y axis
, dy: function(y) {
- return this.y((this instanceof SVG.FX ? 0 : this.y()) + y, true)
+ return this.y(new SVG.Number(y).plus(this instanceof SVG.FX ? 0 : this.y()), true)
}
// Relative move over x and y axes
, dmove: function(x, y) {