Skip to content

Commit

Permalink
update transparency
Browse files Browse the repository at this point in the history
  • Loading branch information
techmannih committed Jan 15, 2025
1 parent 639977a commit 8d6c167
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 34 deletions.
2 changes: 1 addition & 1 deletion lib/sch/draw-schematic-labeled-points.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export function drawSchematicLabeledPoints(params: {
y: labelY.toString(),
fill: colorMap.schematic.grid,
"font-size": (0.1 * Math.abs(transform.a)).toString(),
"fill-opacity": "0.1",
"fill-opacity": "0.7",
"text-anchor": "start",
"font-family": "sans-serif",
"dominant-baseline": "middle",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export const createSvgObjectsForSchNetLabel = (
attributes: {
class: "net-label",
d: pathD,
fill: "transparent",
fill: "#FFFFFF99",
stroke: colorMap.schematic.label_global,
"stroke-width": `${getSchStrokeSize(realToScreenTransform)}px`,
},
Expand Down
32 changes: 16 additions & 16 deletions tests/sch/__snapshots__/chip-crossing-schemtic-example1.snap.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 8d6c167

Please sign in to comment.