easyeda 0.0.332 → 0.0.334

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.
@@ -10447,7 +10447,7 @@ var handleRect = (rect, index) => {
10447
10447
  width,
10448
10448
  height,
10449
10449
  layer,
10450
- stroke_width: mil2mm(rect.lineWidth),
10450
+ stroke_width: mil10ToMm(rect.lineWidth),
10451
10451
  is_filled: rect.fillStyle !== "none",
10452
10452
  has_stroke: rect.lineWidth > 0,
10453
10453
  ccw_rotation: rect.rotation
@@ -11267,7 +11267,7 @@ var ShapeItemSchema = external_exports.object({
11267
11267
  return SVGNodeSchema.parse({ type: "SVGNODE", svgData });
11268
11268
  }
11269
11269
  case "RECT": {
11270
- const [x, y, width, height, lineWidth, id, rotation2, layer, fillStyle] = shape.data.split("~");
11270
+ const [x, y, width, height, layer, id, rotation2, lineWidth, fillStyle] = shape.data.split("~");
11271
11271
  const r = rotation2 ? Number(rotation2) : void 0;
11272
11272
  return RectSchema.parse({
11273
11273
  type: "RECT",