easyeda 0.0.335 → 0.0.336

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.
@@ -13042,7 +13042,7 @@ var convertBetterEasyToTsx = async ({
13042
13042
  const crystalPinVariant = componentType !== "crystal" ? void 0 : sourcePorts.length === 4 ? "four_pin" : sourcePorts.length === 2 ? "two_pin" : void 0;
13043
13043
  const isMultiPinDiode = isDiodeCategoryComponent(betterEasy) && sourcePorts.length !== 2;
13044
13044
  const isMultiPinInductor = isInductorComponent(betterEasy) && sourcePorts.length !== 2;
13045
- const isPassiveWithCustomSymbol = componentType === "capacitor" || componentType === "resistor";
13045
+ const isPassiveWithCustomSymbol = componentType === "capacitor";
13046
13046
  const symbolTsx = isPassiveWithCustomSymbol || componentType === "chip" && !isMultiPinDiode && !isMultiPinInductor && hasNonBoxSchematicSymbol(betterEasy) ? generateSymbolTsx(betterEasy, circuitJson, {
13047
13047
  alignPortsToDrawing: isPassiveWithCustomSymbol
13048
13048
  }) : void 0;