@tscircuit/core 0.0.159 → 0.0.160

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2532,6 +2532,7 @@ var NormalComponent = class extends PrimitiveComponent {
2532
2532
  }
2533
2533
  _doInitialSchematicComponentRenderWithSymbol() {
2534
2534
  const { db } = this.root;
2535
+ const { _parsedProps: props } = this;
2535
2536
  const base_symbol_name = this.config.schematicSymbolName;
2536
2537
  const symbol_name_horz = `${base_symbol_name}_horz`;
2537
2538
  let symbol_name;
@@ -2550,8 +2551,8 @@ var NormalComponent = class extends PrimitiveComponent {
2550
2551
  const symbol = symbols2[symbol_name];
2551
2552
  if (symbol) {
2552
2553
  const schematic_component2 = db.schematic_component.insert({
2553
- center: { x: this.props.schX ?? 0, y: this.props.schY ?? 0 },
2554
- rotation: this.props.schRotation ?? 0,
2554
+ center: { x: props.schX ?? 0, y: props.schY ?? 0 },
2555
+ rotation: props.schRotation ?? 0,
2555
2556
  size: symbol.size,
2556
2557
  source_component_id: this.source_component_id,
2557
2558
  symbol_name,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/core",
3
3
  "type": "module",
4
- "version": "0.0.159",
4
+ "version": "0.0.160",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",