From 04201932a85541566176259f3b7ded9f1158253a Mon Sep 17 00:00:00 2001 From: Scott Alfter Date: Mon, 5 Mar 2018 13:35:52 -0800 Subject: [PATCH] fix ANSI trimpot --- src/symbol/ansi/common/icons.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/symbol/ansi/common/icons.coffee b/src/symbol/ansi/common/icons.coffee index 7868fbc..420c727 100644 --- a/src/symbol/ansi/common/icons.coffee +++ b/src/symbol/ansi/common/icons.coffee @@ -18,7 +18,7 @@ class ResistorIcon extends Icon draw: (x, y) -> settings = @symbol.settings @symbol - .lineWidth @lineWidth + .lineWidth @lineWidth/2 .center x, y # Set center to (x, y) .line -@d.w/2, 0, (-@d.w/2)*(5/6), -@d.h/2 .line (-@d.w/2)*(5/6), -@d.h/2, (-@d.w/2)*(3/6), @d.h/2 @@ -30,7 +30,7 @@ class ResistorIcon extends Icon if @schematic.trimpot @symbol .line -@d.h, @d.h, @d.h, -@d.h - .line @d.h - @d.d, -@d.h - @d.d, @d.h + @d.d, -@d.h + @d.d + .arrow 0.7*@d.h, -0.7*@d.h, @d.h, -@d.h, 0.2*@d.h @symbol.center 0, 0 # Restore default center point #