@tscircuit/core 0.0.987 → 0.0.988
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
|
@@ -3820,7 +3820,7 @@ function getBoundsOfPcbComponents(components) {
|
|
|
3820
3820
|
let maxY = -Infinity;
|
|
3821
3821
|
let hasValidComponents = false;
|
|
3822
3822
|
for (const child of components) {
|
|
3823
|
-
if (child.isPcbPrimitive && !child.componentName.startsWith("Silkscreen")) {
|
|
3823
|
+
if (child.isPcbPrimitive && !child.componentName.startsWith("Silkscreen") && !child.componentName.startsWith("PcbNote")) {
|
|
3824
3824
|
const { x, y } = child._getGlobalPcbPositionBeforeLayout();
|
|
3825
3825
|
const { width: width2, height: height2 } = child.getPcbSize();
|
|
3826
3826
|
minX = Math.min(minX, x - width2 / 2);
|
|
@@ -21034,7 +21034,7 @@ import { identity as identity5 } from "transformation-matrix";
|
|
|
21034
21034
|
var package_default = {
|
|
21035
21035
|
name: "@tscircuit/core",
|
|
21036
21036
|
type: "module",
|
|
21037
|
-
version: "0.0.
|
|
21037
|
+
version: "0.0.987",
|
|
21038
21038
|
types: "dist/index.d.ts",
|
|
21039
21039
|
main: "dist/index.js",
|
|
21040
21040
|
module: "dist/index.js",
|