Skip to content

Fix missing hover color for traces#860

Open
contlg wants to merge 1 commit into
tscircuit:mainfrom
contlg:fix-trace-hover-color
Open

Fix missing hover color for traces#860
contlg wants to merge 1 commit into
tscircuit:mainfrom
contlg:fix-trace-hover-color

Conversation

@contlg
Copy link
Copy Markdown

@contlg contlg commented May 12, 2026

This PR fixes the issue where traces did not change color on hover. The issue was caused by using pad colors instead of copper colors in the HOVER_COLOR_MAP for the top and bottom layers.

Changes:

  • Updated HOVER_COLOR_MAP in draw-pcb-trace.ts to use colors.board.copper.f and colors.board.copper.b

/claim #1130

@vercel
Copy link
Copy Markdown

vercel Bot commented May 12, 2026

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

Project Deployment Actions Updated (UTC)
pcb-viewer Ready Ready Preview, Comment May 12, 2026 8:26am

Request Review

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