Skip to content

Commit

Permalink
fix make transparent label point (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
techmannih authored Jan 15, 2025
1 parent ce49a76 commit ca60c1c
Show file tree
Hide file tree
Showing 9 changed files with 262 additions and 19 deletions.
Binary file modified bun.lockb
Binary file not shown.
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: "#FFFFFF99",
stroke: colorMap.schematic.label_global,
"stroke-width": `${getSchStrokeSize(realToScreenTransform)}px`,
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@storybook/react": "^8.2.5",
"@storybook/react-vite": "^8.2.5",
"@storybook/test": "^8.2.5",
"@tscircuit/core": "^0.0.239",
"@tscircuit/core": "^0.0.267",
"@tscircuit/plop": "^0.0.10",
"@types/bun": "^1.1.9",
"biome": "^0.3.3",
Expand Down
129 changes: 129 additions & 0 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.
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.
25 changes: 23 additions & 2 deletions tests/sch/__snapshots__/net-symbol.snap.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions tests/sch/__snapshots__/resistor.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 ca60c1c

Please sign in to comment.