Skip to content

Commit

Permalink
add snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
techmannih committed Jan 10, 2025
1 parent 898d241 commit 4f3f188
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
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: "white",
fill: "transparent",
stroke: colorMap.schematic.label_global,
"stroke-width": `${getSchStrokeSize(realToScreenTransform)}px`,
},
Expand Down Expand Up @@ -185,7 +185,7 @@ export const createSvgObjectsForSchNetLabel = (
class: "net-label-text",
x: screenTextPos.x.toString(),
y: screenTextPos.y.toString(),
// fill: colorMap.schematic.label_global,
fill: colorMap.schematic.label_global,
"text-anchor": textAnchor,
"dominant-baseline": "central",
"font-family": "sans-serif",
Expand Down
22 changes: 11 additions & 11 deletions tests/sch/__snapshots__/net-label.snap.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4f3f188

Please sign in to comment.