Skip to content

implemented nine point title alignment for schematic box#891

Merged
seveibar merged 8 commits intotscircuit:mainfrom
Abse2001:main
Jun 12, 2025
Merged

implemented nine point title alignment for schematic box#891
seveibar merged 8 commits intotscircuit:mainfrom
Abse2001:main

Conversation

@Abse2001
Copy link
Contributor

@Abse2001 Abse2001 commented Jun 8, 2025

No description provided.

@vercel
Copy link

vercel bot commented Jun 8, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tscircuit-core-benchmarks ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 11, 2025 6:45pm

Copy link
Contributor

@seveibar seveibar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very close, two remaining concerns

const centerX = typeof props.schX === "number" ? props.schX : 0
const centerY = typeof props.schY === "number" ? props.schY : 0
centerX = typeof props.schX === "number" ? props.schX : 0
centerY = typeof props.schY === "number" ? props.schY : 0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is wrong and will fail if the box is within a schematic group- use this._getSchematicPositionBeforeLayout

Copy link
Contributor

@seveibar seveibar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can fix the issue inside of schematic groups in the next PR but you shouldn't redefine a NinePointAnchor enum

@github-actions
Copy link

This PR has been automatically marked as stale because it has had no recent activity. It will be closed if no further activity occurs.

@Abse2001
Copy link
Contributor Author

I will fix the issue inside of schematic groups in the next PR as you recommended

@seveibar seveibar merged commit 6c4ab65 into tscircuit:main Jun 12, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants