1
0
Fork 0

🚧 Changes to pattern examples

This commit is contained in:
Joost De Cock 2019-05-30 21:19:41 +02:00
parent 7d9e41ec6f
commit 1bc2272c90
92 changed files with 579 additions and 506 deletions

View file

@ -183,9 +183,6 @@ Part.prototype.inject = function(orig) {
}
for (let i in orig.snippets) {
this.snippets[i] = orig.snippets[i].clone();
// Keep link between points and snippet anchor where possible
let anchorPoint = findBasePoint(orig.snippets[i].anchor);
if (anchorPoint) this.snippets[i].anchor = this.points[i];
}
return this;