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.
- 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/browser/index.js
CHANGED
|
@@ -10447,7 +10447,7 @@ var handleRect = (rect, index) => {
|
|
|
10447
10447
|
width,
|
|
10448
10448
|
height,
|
|
10449
10449
|
layer,
|
|
10450
|
-
stroke_width:
|
|
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,
|
|
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",
|