@tscircuit/pcb-viewer 1.11.335 → 1.11.336
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 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11983,6 +11983,9 @@ var ErrorOverlay = ({
|
|
|
11983
11983
|
x: port2.x,
|
|
11984
11984
|
y: port2.y
|
|
11985
11985
|
});
|
|
11986
|
+
if (!isShowingDRCErrors) {
|
|
11987
|
+
return null;
|
|
11988
|
+
}
|
|
11986
11989
|
const canLineBeDrawn = !(isNaN(screenPort1.x) || isNaN(screenPort1.y) || isNaN(screenPort2.x) || isNaN(screenPort2.y));
|
|
11987
11990
|
const errorCenter = {
|
|
11988
11991
|
x: (screenPort1.x + screenPort2.x) / 2,
|
|
@@ -13888,7 +13891,7 @@ import { css as css3 } from "@emotion/css";
|
|
|
13888
13891
|
// package.json
|
|
13889
13892
|
var package_default = {
|
|
13890
13893
|
name: "@tscircuit/pcb-viewer",
|
|
13891
|
-
version: "1.11.
|
|
13894
|
+
version: "1.11.335",
|
|
13892
13895
|
main: "dist/index.js",
|
|
13893
13896
|
type: "module",
|
|
13894
13897
|
repository: "tscircuit/pcb-viewer",
|