diff --git a/package.json b/package.json index 578da1f..dfb1de5 100644 --- a/package.json +++ b/package.json @@ -25,9 +25,9 @@ "@storybook/nextjs": "^8.0.6", "@storybook/react": "^8.0.6", "@swc/core": "^1.4.12", - "@tscircuit/core": "^0.0.215", + "@tscircuit/core": "^0.0.109", "@tscircuit/eagle-xml-converter": "^0.0.6", - "@tscircuit/props": "^0.0.108", + "@tscircuit/props": "^0.0.46", "@tscircuit/soup-util": "^0.0.38", "@types/color": "^3.0.6", "@types/node": "18.7.23", diff --git a/src/components/ElementOverlayBox.tsx b/src/components/ElementOverlayBox.tsx index b9fe0a7..b096873 100644 --- a/src/components/ElementOverlayBox.tsx +++ b/src/components/ElementOverlayBox.tsx @@ -93,9 +93,6 @@ export const HighlightedPrimitiveBoxWithText = ({ ?.layer as keyof typeof layerColorHightlightMap ] ?? "red" - // Check for rotation on the parent PCB component - const rotation = (primitive as any)?._parent_pcb_component?.rotation ?? 0 - return (
{ - const circuit = new Circuit() - - circuit.add( - - - - - - - - , - ) - - const soup = circuit.getCircuitJson() - - return ( -
- -
- ) -} - -const meta: Meta = { - title: "RotatedRec", - component: rotatedRec, -} - -export default meta