Reverting change to repeat node that adjusted the vertical position

This commit is contained in:
Jeff Avallone 2014-12-14 21:53:54 -05:00
parent 95af49e385
commit 10d5e7f534
1 changed files with 3 additions and 2 deletions

View File

@ -20,16 +20,17 @@ export default {
}, },
contentPosition() { contentPosition() {
var x = 0; var x = 0, y = 0;
if (this.hasLoop()) { if (this.hasLoop()) {
x = 10; x = 10;
} }
if (this.hasSkip()) { if (this.hasSkip()) {
y = 10;
x = 15; x = 15;
} }
return Snap.matrix().translate(x, 0); return Snap.matrix().translate(x, y);
} }
} }