@tscircuit/core 0.0.936 → 0.0.937
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 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -17942,14 +17942,14 @@ var SilkscreenRect = class extends PrimitiveComponent2 {
|
|
|
17942
17942
|
);
|
|
17943
17943
|
}
|
|
17944
17944
|
const subcircuit = this.getSubcircuit();
|
|
17945
|
-
const
|
|
17945
|
+
const position = this._getGlobalPcbPositionBeforeLayout();
|
|
17946
17946
|
const pcb_component_id = this.parent?.pcb_component_id ?? this.getPrimitiveContainer()?.pcb_component_id;
|
|
17947
17947
|
const pcb_silkscreen_rect = db.pcb_silkscreen_rect.insert({
|
|
17948
17948
|
pcb_component_id,
|
|
17949
17949
|
layer,
|
|
17950
17950
|
center: {
|
|
17951
|
-
x:
|
|
17952
|
-
y:
|
|
17951
|
+
x: position.x,
|
|
17952
|
+
y: position.y
|
|
17953
17953
|
},
|
|
17954
17954
|
width: props.width,
|
|
17955
17955
|
height: props.height,
|
|
@@ -19690,7 +19690,7 @@ import { identity as identity5 } from "transformation-matrix";
|
|
|
19690
19690
|
var package_default = {
|
|
19691
19691
|
name: "@tscircuit/core",
|
|
19692
19692
|
type: "module",
|
|
19693
|
-
version: "0.0.
|
|
19693
|
+
version: "0.0.936",
|
|
19694
19694
|
types: "dist/index.d.ts",
|
|
19695
19695
|
main: "dist/index.js",
|
|
19696
19696
|
module: "dist/index.js",
|