Skip to content

repro: encoder silkscreen circles ignore inherited visibility - #4896

Draft
KrishnaX12 wants to merge 1 commit into
tscircuit:mainfrom
KrishnaX12:repro/encoder-silkscreen-visibility
Draft

KrishnaX12 wants to merge 1 commit into
tscircuit:mainfrom
KrishnaX12:repro/encoder-silkscreen-visibility

Conversation

@KrishnaX12

Copy link
Copy Markdown
Contributor

Setting pcbSx={{ "& silkscreencircle": { visibility: "hidden" } }} on a chip still emits its circles in Circuit JSON.

This small TSX fixture uses the three shaft circles and reference label from USB-C control dial v0.0.3. It compares default visibility with inherited hidden visibility. The style resolves to hidden, but all three circles remain; both reference labels are preserved.

One test and one PCB snapshot; no production changes. The fixture contains only the encoder markings, not the full board.

Validation: the repro passes with the checked-in snapshot, and TypeScript and formatting pass.

Current output: hidden encoder circles still appear

@vercel

vercel Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
tscircuit-core-benchmarks Ready Ready Preview Oct 24, 2026 7:22pm UTC

Request Review

This branch was successfully deployed

1 active deployment
Preview — 1c491747 Deployed Oct 24, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant