Skip to content

Commit

Permalink
move modifySymbol to drawing directory for export (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
seveibar authored Nov 19, 2024
1 parent bc1e861 commit 94a03f0
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion symbols/diode_right.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { defineSymbol } from "drawing/defineSymbol"
import svgJson from "assets/generated/diode.json"
import { modifySymbol } from "scripts/lib/modify-symbol/modify-symbol"
import { modifySymbol } from "drawing/modify-symbol/modify-symbol"

export default modifySymbol(svgJson)
.labelPort("left1", ["1", "pos"])
Expand Down
2 changes: 1 addition & 1 deletion symbols/ground_vert.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ import { defineSymbol } from "drawing/defineSymbol"
import svgJson from "assets/generated/ground.json"
import { Primitive } from "drawing/types"
import groundHorz from "./ground_horz"
import { modifySymbol } from "scripts/lib/modify-symbol/modify-symbol"
import { modifySymbol } from "drawing/modify-symbol/modify-symbol"

export default modifySymbol(groundHorz).rotateRightFacingSymbol("down").build()
2 changes: 1 addition & 1 deletion symbols/schottky_diode_horz.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { defineSymbol } from "drawing/defineSymbol"
import svgJson from "assets/generated/schottky_diode.json"
import { modifySymbol } from "scripts/lib/modify-symbol/modify-symbol"
import { modifySymbol } from "drawing/modify-symbol/modify-symbol"

export default modifySymbol(svgJson)
.labelPort("left1", ["1", "pos"])
Expand Down

0 comments on commit 94a03f0

Please sign in to comment.