diff --git a/src/lib/circuit-to-pcb-svg.ts b/src/lib/circuit-to-pcb-svg.ts index df82714..cde1cde 100644 --- a/src/lib/circuit-to-pcb-svg.ts +++ b/src/lib/circuit-to-pcb-svg.ts @@ -143,12 +143,6 @@ function circuitJsonToPcbSvg(soup: AnySoupElement[]): string { attributes: { id: "other-elements" }, children: otherElements, }, - { - name: "g", - type: "element", - attributes: { id: "silkscreen" }, - children: silkscreenElements, - }, { name: "g", type: "element", @@ -161,6 +155,12 @@ function circuitJsonToPcbSvg(soup: AnySoupElement[]): string { attributes: { id: "holes" }, children: holeElements, }, + { + name: "g", + type: "element", + attributes: { id: "silkscreen" }, + children: silkscreenElements, + }, ].filter((child) => child !== null), }