@tscircuit/pcb-viewer 1.11.340 → 1.11.342
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 +8 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8634,6 +8634,7 @@ var Drawer = class {
|
|
|
8634
8634
|
const associatedSilkscreen = foregroundLayer === "top" ? "top_silkscreen" : foregroundLayer === "bottom" ? "bottom_silkscreen" : void 0;
|
|
8635
8635
|
const associatedNotes = foregroundLayer === "top" ? "top_notes" : foregroundLayer === "bottom" ? "bottom_notes" : void 0;
|
|
8636
8636
|
const associatedFabrication = foregroundLayer === "top" ? "top_fabrication" : foregroundLayer === "bottom" ? "bottom_fabrication" : void 0;
|
|
8637
|
+
const associatedCourtyard = foregroundLayer === "top" ? "top_courtyard" : foregroundLayer === "bottom" ? "bottom_courtyard" : void 0;
|
|
8637
8638
|
const opaqueLayers = /* @__PURE__ */ new Set([
|
|
8638
8639
|
foregroundLayer,
|
|
8639
8640
|
"drill",
|
|
@@ -8643,7 +8644,8 @@ var Drawer = class {
|
|
|
8643
8644
|
...associatedSoldermask ? [associatedSoldermask] : [],
|
|
8644
8645
|
...associatedSilkscreen ? [associatedSilkscreen] : [],
|
|
8645
8646
|
...associatedNotes ? [associatedNotes] : [],
|
|
8646
|
-
...associatedFabrication ? [associatedFabrication] : []
|
|
8647
|
+
...associatedFabrication ? [associatedFabrication] : [],
|
|
8648
|
+
...associatedCourtyard ? [associatedCourtyard] : []
|
|
8647
8649
|
]);
|
|
8648
8650
|
const layersToShiftToTop = [
|
|
8649
8651
|
foregroundLayer,
|
|
@@ -8651,7 +8653,8 @@ var Drawer = class {
|
|
|
8651
8653
|
...associatedSoldermask ? [associatedSoldermask] : [],
|
|
8652
8654
|
...associatedSilkscreen ? [associatedSilkscreen] : [],
|
|
8653
8655
|
...associatedNotes ? [associatedNotes] : [],
|
|
8654
|
-
...associatedFabrication ? [associatedFabrication] : []
|
|
8656
|
+
...associatedFabrication ? [associatedFabrication] : [],
|
|
8657
|
+
...associatedCourtyard ? [associatedCourtyard] : []
|
|
8655
8658
|
];
|
|
8656
8659
|
const drillBeforeForeground = foregroundLayer === "drill" ? [] : ["drill"];
|
|
8657
8660
|
const drillAfterForeground = foregroundLayer === "drill" ? ["drill"] : [];
|
|
@@ -8664,7 +8667,8 @@ var Drawer = class {
|
|
|
8664
8667
|
"edge_cuts",
|
|
8665
8668
|
...associatedSilkscreen ? [associatedSilkscreen] : [],
|
|
8666
8669
|
...associatedNotes ? [associatedNotes] : [],
|
|
8667
|
-
...associatedFabrication ? [associatedFabrication] : []
|
|
8670
|
+
...associatedFabrication ? [associatedFabrication] : [],
|
|
8671
|
+
...associatedCourtyard ? [associatedCourtyard] : []
|
|
8668
8672
|
];
|
|
8669
8673
|
order.forEach((layer, i) => {
|
|
8670
8674
|
const canvas = canvasLayerMap[layer];
|
|
@@ -9802,7 +9806,6 @@ var orderedLayers = [
|
|
|
9802
9806
|
"bottom_notes",
|
|
9803
9807
|
"top_notes",
|
|
9804
9808
|
"top_silkscreen",
|
|
9805
|
-
"bottom_silkscreen",
|
|
9806
9809
|
"top_courtyard",
|
|
9807
9810
|
"bottom_courtyard",
|
|
9808
9811
|
"other"
|
|
@@ -14136,7 +14139,7 @@ import { css as css3 } from "@emotion/css";
|
|
|
14136
14139
|
// package.json
|
|
14137
14140
|
var package_default = {
|
|
14138
14141
|
name: "@tscircuit/pcb-viewer",
|
|
14139
|
-
version: "1.11.
|
|
14142
|
+
version: "1.11.341",
|
|
14140
14143
|
main: "dist/index.js",
|
|
14141
14144
|
type: "module",
|
|
14142
14145
|
repository: "tscircuit/pcb-viewer",
|