@tscircuit/core 0.0.670 → 0.0.671
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
|
@@ -10265,7 +10265,7 @@ var insertNetLabelsForPortsMissingTrace = ({
|
|
|
10265
10265
|
continue;
|
|
10266
10266
|
}
|
|
10267
10267
|
const existingAtPort = db.schematic_net_label.list().some((nl) => {
|
|
10268
|
-
const samePos = Math.abs(nl.anchor_position.x - sp.center.x) <
|
|
10268
|
+
const samePos = Math.abs(nl.anchor_position.x - sp.center.x) < 0.1 && Math.abs(nl.anchor_position.y - sp.center.y) < 0.1;
|
|
10269
10269
|
if (!samePos) return false;
|
|
10270
10270
|
if (sourceNet.source_net_id && nl.source_net_id) {
|
|
10271
10271
|
return nl.source_net_id === sourceNet.source_net_id;
|
|
@@ -13862,7 +13862,7 @@ import { identity as identity5 } from "transformation-matrix";
|
|
|
13862
13862
|
var package_default = {
|
|
13863
13863
|
name: "@tscircuit/core",
|
|
13864
13864
|
type: "module",
|
|
13865
|
-
version: "0.0.
|
|
13865
|
+
version: "0.0.670",
|
|
13866
13866
|
types: "dist/index.d.ts",
|
|
13867
13867
|
main: "dist/index.js",
|
|
13868
13868
|
module: "dist/index.js",
|