diff options
Diffstat (limited to 'src/container.js')
-rw-r--r-- | src/container.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/container.js b/src/container.js index 868b477..9107fbd 100644 --- a/src/container.js +++ b/src/container.js @@ -107,8 +107,7 @@ SVG.Container = { 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); |