Reverting change to repeat node that adjusted the vertical position
This commit is contained in:
parent
95af49e385
commit
10d5e7f534
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user