aboutsummaryrefslogtreecommitdiff
path: root/share/library/Passive/resistor.lua
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2021-11-02 10:35:20 +0100
committerPřemysl Eric Janouch <p@janouch.name>2021-11-02 10:36:17 +0100
commit7499f92811cadbd5928dab8d092014bc72aa2b1d (patch)
treeb12a539b2bcbb6244693443fd53c855254e1bad8 /share/library/Passive/resistor.lua
parentdeceafb4f4b6d2c59c6dbd6358d5ad68ae88fa59 (diff)
downloadlogdiag-7499f92811cadbd5928dab8d092014bc72aa2b1d.tar.gz
logdiag-7499f92811cadbd5928dab8d092014bc72aa2b1d.tar.xz
logdiag-7499f92811cadbd5928dab8d092014bc72aa2b1d.zip
Close symbol paths where appropriate
Removes some ugliness in PDF exports, stemming from line thickness.
Diffstat (limited to 'share/library/Passive/resistor.lua')
-rw-r--r--share/library/Passive/resistor.lua2
1 files changed, 1 insertions, 1 deletions
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)