1
0
Fork 0

🚧 Updated CFP template pattern

This commit is contained in:
Joost De Cock 2019-05-10 09:50:52 +02:00
parent eae34d6155
commit 60592472ec

View file

@ -32,6 +32,10 @@ export default function(part) {
if (complete) {
points.logo = points.topLeft.shiftFractionTowards(points.bottomRight, 0.5);
snippets.logo = new Snippet("logo", points.logo);
points.text = points.logo
.shift(-90, w / 8)
.attr("data-text", "hello")
.attr("data-text-class", "center");
if (sa) {
paths.sa = paths.seam.offset(sa).attr("class", "fabric sa");