@tscircuit/core 0.0.469 → 0.0.470
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 +4 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9774,8 +9774,9 @@ var SchematicBox = class extends PrimitiveComponent2 {
|
|
|
9774
9774
|
} else if (hasFixedSize) {
|
|
9775
9775
|
width = props.width;
|
|
9776
9776
|
height = props.height;
|
|
9777
|
-
|
|
9778
|
-
|
|
9777
|
+
const center = this._getGlobalSchematicPositionBeforeLayout();
|
|
9778
|
+
centerX = center.x;
|
|
9779
|
+
centerY = center.y;
|
|
9779
9780
|
x = centerX - width / 2;
|
|
9780
9781
|
y = centerY - height / 2;
|
|
9781
9782
|
} else {
|
|
@@ -9837,7 +9838,7 @@ import { identity as identity4 } from "transformation-matrix";
|
|
|
9837
9838
|
var package_default = {
|
|
9838
9839
|
name: "@tscircuit/core",
|
|
9839
9840
|
type: "module",
|
|
9840
|
-
version: "0.0.
|
|
9841
|
+
version: "0.0.469",
|
|
9841
9842
|
types: "dist/index.d.ts",
|
|
9842
9843
|
main: "dist/index.js",
|
|
9843
9844
|
module: "dist/index.js",
|