diff options
author | wout <wout@impinc.co.uk> | 2013-01-22 17:54:28 +0100 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2013-01-22 17:54:28 +0100 |
commit | b72373cf2fc024714825da95c59879ce9cbb4521 (patch) | |
tree | 1f3b260f9d2da54d1df7bca7b540bb15a0863e55 /src/arrange.js | |
parent | 6ae497706394d96b87e045afa8c7260790c4a7f1 (diff) | |
download | svg.js-b72373cf2fc024714825da95c59879ce9cbb4521.tar.gz svg.js-b72373cf2fc024714825da95c59879ce9cbb4521.zip |
Fix in offset for SVG.Wrap
Diffstat (limited to 'src/arrange.js')
-rw-r--r-- | src/arrange.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arrange.js b/src/arrange.js index 63ac659..1ec3561 100644 --- a/src/arrange.js +++ b/src/arrange.js @@ -4,7 +4,7 @@ SVG.extend(SVG.Element, { // Get all siblings, including myself siblings: function() { - return this.parent.children(); + return (this.nested() || this.doc()).children(); }, // Get the curent position siblings position: function() { |