diff options
Diffstat (limited to 'dist/svg.js')
-rw-r--r-- | dist/svg.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/dist/svg.js b/dist/svg.js index 1553e61..32315d9 100644 --- a/dist/svg.js +++ b/dist/svg.js @@ -127,8 +127,7 @@ place: function(e, v) { if (v != null) { - if (v.x != null && v.y != null) - e.move(v.x, v.y); + e.move(v.x || 0, v.y || 0); if (v.width != null && v.height != null) e.size(v.width, v.height); |