aboutsummaryrefslogtreecommitdiff
path: root/share/library
diff options
context:
space:
mode:
Diffstat (limited to 'share/library')
-rw-r--r--share/library/Logical/or.lua1
-rw-r--r--share/library/Misc/switch.lua3
-rw-r--r--share/library/Passive/diode.lua2
-rw-r--r--share/library/Passive/resistor.lua2
4 files changed, 4 insertions, 4 deletions
diff --git a/share/library/Logical/or.lua b/share/library/Logical/or.lua
index 18aabab..27390a9 100644
--- a/share/library/Logical/or.lua
+++ b/share/library/Logical/or.lua
@@ -23,6 +23,7 @@ local render = function (cr)
cr:curve_to (3, 0, 2, 2, 0, 2)
cr:line_to (-2, 2)
cr:curve_to (-1, 1, -1, -1, -2, -2)
+ cr:close_path ()
cr:stroke ()
-- The terminals
diff --git a/share/library/Misc/switch.lua b/share/library/Misc/switch.lua
index 2d95b6b..9901de6 100644
--- a/share/library/Misc/switch.lua
+++ b/share/library/Misc/switch.lua
@@ -21,8 +21,7 @@ local render = function (cr)
cr:line_to (-1, 0)
-- The terminals
- cr:move_to (-2, 0)
- cr:line_to (-1, 0)
+ cr:line_to (-2, 0)
cr:move_to (1, 0)
cr:line_to (2, 0)
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)