summaryrefslogtreecommitdiff
path: root/share/library/Misc/lamp.lua
diff options
context:
space:
mode:
Diffstat (limited to 'share/library/Misc/lamp.lua')
-rw-r--r--share/library/Misc/lamp.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/share/library/Misc/lamp.lua b/share/library/Misc/lamp.lua
index 9ecf9ea..e80683f 100644
--- a/share/library/Misc/lamp.lua
+++ b/share/library/Misc/lamp.lua
@@ -8,7 +8,7 @@ local names =
-- Render area in base units (X1, Y1, X2, Y2)
local area = {-2, -1, 2, 1}
--- Terminals
+-- Terminal points
local terminals = {{-2, 0}, {2, 0}}
-- Rendering
@@ -25,16 +25,17 @@ local render = function (cr)
cr.move_to (1, -1)
cr.line_to (-1, 1)
- cr.stroke ()
+ cr.stroke ()
cr.restore ()
- -- The contacts
+ -- The terminals
cr.move_to (-2, 0)
cr.line_to (-1, 0)
cr.move_to (1, 0)
cr.line_to (2, 0)
+
cr.stroke ()
end