@tscircuit/pcb-viewer 1.10.2 → 1.10.3
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 +3 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -12168,12 +12168,8 @@ var Drawer = /*#__PURE__*/ function() {
|
|
|
12168
12168
|
key: "applyAperture",
|
|
12169
12169
|
value: function applyAperture() {
|
|
12170
12170
|
var _this = this, transform = _this.transform, aperture = _this.aperture;
|
|
12171
|
-
var size = aperture.size, mode = aperture.mode, color2 = aperture.color, fontSize = aperture.fontSize;
|
|
12172
|
-
if (
|
|
12173
|
-
this.aperture.layer = color2;
|
|
12174
|
-
} else {
|
|
12175
|
-
this.aperture.layer = "other";
|
|
12176
|
-
}
|
|
12171
|
+
var size = aperture.size, mode = aperture.mode, color2 = aperture.color, fontSize = aperture.fontSize, layer = aperture.layer;
|
|
12172
|
+
if (!(layer in this.ctxLayerMap)) this.aperture.layer = "other";
|
|
12177
12173
|
var ctx = this.getLayerCtx();
|
|
12178
12174
|
if (!ctx) {
|
|
12179
12175
|
throw new Error('No context for layer "'.concat(this.foregroundLayer, '"'));
|
|
@@ -13725,7 +13721,7 @@ var import_soup2 = __toESM(require_dist());
|
|
|
13725
13721
|
// package.json
|
|
13726
13722
|
var package_default = {
|
|
13727
13723
|
name: "@tscircuit/pcb-viewer",
|
|
13728
|
-
version: "1.10.
|
|
13724
|
+
version: "1.10.2",
|
|
13729
13725
|
main: "dist/index.js",
|
|
13730
13726
|
repository: "tscircuit/pcb-viewer",
|
|
13731
13727
|
license: "MIT",
|