-
Notifications
You must be signed in to change notification settings - Fork 542
Open
Description
In the Net List, there is an option on each row to set a custom color (which is very helpful). While the color-selection works, the color is never actually rendered.
I was able to make a small change to drawFootprint which resolves this:
Original Code:
if (pad.layers.includes(layer)) {
drawPad(ctx, pad, colors.pad, outline);
...
Updated Code:
if (pad.layers.includes(layer)) {
var padColor = (highlight) ? colors.pad : (settings.netColors[pad.net] || colors.pad);
drawPad(ctx, pad, padColor, outline);
...
This works on both the interactive display and when saving images.
Metadata
Metadata
Assignees
Labels
No labels