@tscircuit/pcb-viewer 1.11.362 → 1.11.363

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 CHANGED
@@ -8821,19 +8821,16 @@ var Drawer = class {
8821
8821
  ...associatedFabrication ? [associatedFabrication] : [],
8822
8822
  ...associatedCourtyard ? [associatedCourtyard] : []
8823
8823
  ];
8824
- const drillBeforeForeground = foregroundLayer === "drill" ? [] : ["drill"];
8825
- const drillAfterForeground = foregroundLayer === "drill" ? ["drill"] : [];
8826
8824
  const order = [
8827
8825
  ...DEFAULT_DRAW_ORDER.filter((l) => !layersToShiftToTop.includes(l)),
8828
- ...drillBeforeForeground,
8829
- foregroundLayer,
8826
+ ...foregroundLayer === "drill" ? [] : [foregroundLayer],
8830
8827
  ...associatedSoldermask ? [associatedSoldermask] : [],
8831
- ...drillAfterForeground,
8832
8828
  "edge_cuts",
8833
8829
  ...associatedSilkscreen ? [associatedSilkscreen] : [],
8834
8830
  ...associatedNotes ? [associatedNotes] : [],
8835
8831
  ...associatedFabrication ? [associatedFabrication] : [],
8836
- ...associatedCourtyard ? [associatedCourtyard] : []
8832
+ ...associatedCourtyard ? [associatedCourtyard] : [],
8833
+ "drill"
8837
8834
  ];
8838
8835
  order.forEach((layer, i) => {
8839
8836
  const canvas = canvasLayerMap[layer];
@@ -14371,7 +14368,7 @@ import { css as css3 } from "@emotion/css";
14371
14368
  // package.json
14372
14369
  var package_default = {
14373
14370
  name: "@tscircuit/pcb-viewer",
14374
- version: "1.11.361",
14371
+ version: "1.11.362",
14375
14372
  main: "dist/index.js",
14376
14373
  type: "module",
14377
14374
  repository: "tscircuit/pcb-viewer",