@tscircuit/pcb-viewer 1.11.99 → 1.11.101

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
@@ -9180,7 +9180,7 @@ import { css as css3 } from "@emotion/css";
9180
9180
  // package.json
9181
9181
  var package_default = {
9182
9182
  name: "@tscircuit/pcb-viewer",
9183
- version: "1.11.98",
9183
+ version: "1.11.100",
9184
9184
  main: "dist/index.js",
9185
9185
  type: "module",
9186
9186
  repository: "tscircuit/pcb-viewer",
@@ -9206,7 +9206,7 @@ var package_default = {
9206
9206
  "@storybook/nextjs": "^8.0.6",
9207
9207
  "@storybook/react": "^8.0.6",
9208
9208
  "@swc/core": "^1.4.12",
9209
- "@tscircuit/core": "0.0.370",
9209
+ "@tscircuit/core": "0.0.372",
9210
9210
  "@tscircuit/eagle-xml-converter": "^1.0.0",
9211
9211
  "@tscircuit/props": "^0.0.171",
9212
9212
  "@tscircuit/soup-util": "^0.0.41",
@@ -9758,7 +9758,7 @@ var PCBViewer = ({
9758
9758
  let [editEvents, setEditEvents] = useState10([]);
9759
9759
  editEvents = editEventsProp ?? editEvents;
9760
9760
  const initialRenderCompleted = useRef8(false);
9761
- const circuitJsonKey = `${circuitJson?.length || 0}`;
9761
+ const circuitJsonKey = `${circuitJson?.length || 0}_${circuitJson?.editCount || 0}`;
9762
9762
  const resetTransform = () => {
9763
9763
  const elmBounds = refDimensions?.width > 0 ? refDimensions : { width: 500, height: 500 };
9764
9764
  const { center, width, height: height2 } = elements.some(