diff options
Diffstat (limited to 'share/library/Passive')
-rw-r--r-- | share/library/Passive/diode.lua | 2 | ||||
-rw-r--r-- | share/library/Passive/resistor.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/share/library/Passive/diode.lua b/share/library/Passive/diode.lua index 46bfa99..12ad8ed 100644 --- a/share/library/Passive/diode.lua +++ b/share/library/Passive/diode.lua @@ -48,7 +48,7 @@ local render = function (cr) cr:move_to (-1, -1) cr:line_to (1, 0) cr:line_to (-1, 1) - cr:line_to (-1, -1) + cr:close_path () -- The vertical line cr:move_to (1, 1) diff --git a/share/library/Passive/resistor.lua b/share/library/Passive/resistor.lua index 7c0b222..bad7a72 100644 --- a/share/library/Passive/resistor.lua +++ b/share/library/Passive/resistor.lua @@ -42,7 +42,7 @@ local render = function (cr) cr:line_to (1.5, -0.5) cr:line_to (1.5, 0.5) cr:line_to (-1.5, 0.5) - cr:line_to (-1.5, -0.5) + cr:close_path () -- The terminals cr:move_to (-2, 0) |