@tscircuit/core 0.0.482 → 0.0.483

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -8172,9 +8172,11 @@ var Board = class extends Group {
8172
8172
  x: hasComponents ? (minX + maxX) / 2 + (props.outlineOffsetX ?? 0) : props.outlineOffsetX ?? 0,
8173
8173
  y: hasComponents ? (minY + maxY) / 2 + (props.outlineOffsetY ?? 0) : props.outlineOffsetY ?? 0
8174
8174
  };
8175
+ const finalWidth = props.width ?? computedWidth;
8176
+ const finalHeight = props.height ?? computedHeight;
8175
8177
  db.pcb_board.update(this.pcb_board_id, {
8176
- width: computedWidth,
8177
- height: computedHeight,
8178
+ width: finalWidth,
8179
+ height: finalHeight,
8178
8180
  center
8179
8181
  });
8180
8182
  }
@@ -10177,7 +10179,7 @@ import { identity as identity4 } from "transformation-matrix";
10177
10179
  var package_default = {
10178
10180
  name: "@tscircuit/core",
10179
10181
  type: "module",
10180
- version: "0.0.481",
10182
+ version: "0.0.482",
10181
10183
  types: "dist/index.d.ts",
10182
10184
  main: "dist/index.js",
10183
10185
  module: "dist/index.js",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.482",
4
+ "version": "0.0.483",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",