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.
@@ -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 ? "{props.name}" : JSON.stringify(silkscreenText.text);
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
  );