fix ANSI trimpot
This commit is contained in:
@@ -18,7 +18,7 @@ class ResistorIcon extends Icon
|
|||||||
draw: (x, y) ->
|
draw: (x, y) ->
|
||||||
settings = @symbol.settings
|
settings = @symbol.settings
|
||||||
@symbol
|
@symbol
|
||||||
.lineWidth @lineWidth
|
.lineWidth @lineWidth/2
|
||||||
.center x, y # Set center to (x, y)
|
.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, 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
|
.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
|
if @schematic.trimpot
|
||||||
@symbol
|
@symbol
|
||||||
.line -@d.h, @d.h, @d.h, -@d.h
|
.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
|
@symbol.center 0, 0 # Restore default center point
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user