Skip to content

Commit 5092a9f

Browse files
CR had arrows on it
1 parent d9bb0c5 commit 5092a9f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

schemascii/components_render.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,9 @@ def diode(
184184
deep_transform((-.3-.3j, .3-.3j), mid, angle)]
185185
triangle = deep_transform((-.3j, .3+.3j, -.3+.3j), mid, angle)
186186
text_pt = make_text_point(t1, t2, **options)
187+
light_emitting = "LED", "IR"
187188
return ((light_arrows(mid, angle, True, **options)
188-
if box.type != "D" else "")
189+
if box.type in light_emitting else "")
189190
+ id_text(box, bom_data, terminals, None, text_pt, **options)
190191
+ bunch_o_lines(lines, **options)
191192
+ polylinegon(triangle, True, **options))

0 commit comments

Comments
 (0)