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/index.js
CHANGED
|
@@ -6849,7 +6849,7 @@ var generateFootprintTsx = (circuitJson) => {
|
|
|
6849
6849
|
}
|
|
6850
6850
|
for (const silkscreenText of silkscreenTexts) {
|
|
6851
6851
|
const isRefDes = silkscreenText.text === "{NAME}";
|
|
6852
|
-
const textValue = isRefDes ? "{
|
|
6852
|
+
const textValue = isRefDes ? JSON.stringify("{NAME}") : JSON.stringify(silkscreenText.text);
|
|
6853
6853
|
elementStrings.push(
|
|
6854
6854
|
`<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)}"` : ""} />`
|
|
6855
6855
|
);
|