@tscircuit/core 0.0.575 → 0.0.576
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/index.js +5 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7986,8 +7986,8 @@ function Group_doInitialPcbLayoutGrid(group) {
|
|
|
7986
7986
|
}
|
|
7987
7987
|
if (group.pcb_group_id) {
|
|
7988
7988
|
db.pcb_group.update(group.pcb_group_id, {
|
|
7989
|
-
width: totalGridWidth,
|
|
7990
|
-
height: totalGridHeight,
|
|
7989
|
+
width: props.width ?? totalGridWidth,
|
|
7990
|
+
height: props.height ?? totalGridHeight,
|
|
7991
7991
|
center: groupCenter
|
|
7992
7992
|
});
|
|
7993
7993
|
}
|
|
@@ -8126,8 +8126,8 @@ var Group = class extends NormalComponent {
|
|
|
8126
8126
|
centerY += (padTop - padBottom) / 2;
|
|
8127
8127
|
}
|
|
8128
8128
|
db.pcb_group.update(this.pcb_group_id, {
|
|
8129
|
-
width,
|
|
8130
|
-
height,
|
|
8129
|
+
width: Number(props.width ?? width),
|
|
8130
|
+
height: Number(props.height ?? height),
|
|
8131
8131
|
center: {
|
|
8132
8132
|
x: centerX,
|
|
8133
8133
|
y: centerY
|
|
@@ -11013,7 +11013,7 @@ import { identity as identity5 } from "transformation-matrix";
|
|
|
11013
11013
|
var package_default = {
|
|
11014
11014
|
name: "@tscircuit/core",
|
|
11015
11015
|
type: "module",
|
|
11016
|
-
version: "0.0.
|
|
11016
|
+
version: "0.0.575",
|
|
11017
11017
|
types: "dist/index.d.ts",
|
|
11018
11018
|
main: "dist/index.js",
|
|
11019
11019
|
module: "dist/index.js",
|