diff --git a/src/js/parser/javascript/repeat.js b/src/js/parser/javascript/repeat.js index a6597ee..259f66c 100644 --- a/src/js/parser/javascript/repeat.js +++ b/src/js/parser/javascript/repeat.js @@ -20,16 +20,17 @@ export default { }, contentPosition() { - var x = 0; + var x = 0, y = 0; if (this.hasLoop()) { x = 10; } if (this.hasSkip()) { + y = 10; x = 15; } - return Snap.matrix().translate(x, 0); + return Snap.matrix().translate(x, y); } }