@tscircuit/core 0.0.1015 → 0.0.1016
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 +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -16882,7 +16882,7 @@ var Board = class extends Group6 {
|
|
|
16882
16882
|
);
|
|
16883
16883
|
}
|
|
16884
16884
|
let outlineTranslation = { x: 0, y: 0 };
|
|
16885
|
-
if (outline && outline.length > 0 && this.parent?.lowercaseComponentName === "panel") {
|
|
16885
|
+
if (outline && outline.length > 0 && (this.parent?.lowercaseComponentName === "panel" || this.parent?.lowercaseComponentName === "subpanel")) {
|
|
16886
16886
|
const outlineBounds = getBoundsFromPoints4(outline);
|
|
16887
16887
|
if (outlineBounds) {
|
|
16888
16888
|
const outlineCenterX = (outlineBounds.minX + outlineBounds.maxX) / 2;
|
|
@@ -22228,7 +22228,7 @@ import { identity as identity5 } from "transformation-matrix";
|
|
|
22228
22228
|
var package_default = {
|
|
22229
22229
|
name: "@tscircuit/core",
|
|
22230
22230
|
type: "module",
|
|
22231
|
-
version: "0.0.
|
|
22231
|
+
version: "0.0.1015",
|
|
22232
22232
|
types: "dist/index.d.ts",
|
|
22233
22233
|
main: "dist/index.js",
|
|
22234
22234
|
module: "dist/index.js",
|