easyeda 0.0.256 → 0.0.257
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/index.js +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/main.cjs +2 -2
- package/dist/main.cjs.map +1 -1
- package/package.json +1 -1
package/dist/browser/index.js
CHANGED
|
@@ -10597,7 +10597,7 @@ var generateFootprintTsx = (circuitJson) => {
|
|
|
10597
10597
|
}
|
|
10598
10598
|
for (const silkscreenText of silkscreenTexts) {
|
|
10599
10599
|
const isRefDes = silkscreenText.text === "{NAME}";
|
|
10600
|
-
const textValue = isRefDes ? "{
|
|
10600
|
+
const textValue = isRefDes ? JSON.stringify("{NAME}") : JSON.stringify(silkscreenText.text);
|
|
10601
10601
|
elementStrings.push(
|
|
10602
10602
|
`<silkscreentext text=${textValue} pcbX="${mmStr(silkscreenText.anchor_position.x)}" pcbY="${mmStr(silkscreenText.anchor_position.y)}" anchorAlignment="${silkscreenText.anchor_alignment}" ${silkscreenText.font_size ? `fontSize="${mmStr(silkscreenText.font_size)}"` : ""} />`
|
|
10603
10603
|
);
|