easyeda 0.0.333 → 0.0.335
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 +2 -2
- package/dist/browser/index.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/main.cjs +3 -3
- package/dist/main.cjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6598,7 +6598,7 @@ var handleRect = (rect, index) => {
|
|
|
6598
6598
|
width,
|
|
6599
6599
|
height,
|
|
6600
6600
|
layer,
|
|
6601
|
-
stroke_width:
|
|
6601
|
+
stroke_width: mil10ToMm(rect.lineWidth),
|
|
6602
6602
|
is_filled: rect.fillStyle !== "none",
|
|
6603
6603
|
has_stroke: rect.lineWidth > 0,
|
|
6604
6604
|
ccw_rotation: rect.rotation
|
|
@@ -7596,7 +7596,7 @@ var ShapeItemSchema = z193.object({
|
|
|
7596
7596
|
return SVGNodeSchema.parse({ type: "SVGNODE", svgData });
|
|
7597
7597
|
}
|
|
7598
7598
|
case "RECT": {
|
|
7599
|
-
const [x, y, width, height,
|
|
7599
|
+
const [x, y, width, height, layer, id, rotation2, lineWidth, fillStyle] = shape.data.split("~");
|
|
7600
7600
|
const r = rotation2 ? Number(rotation2) : void 0;
|
|
7601
7601
|
return RectSchema.parse({
|
|
7602
7602
|
type: "RECT",
|