about summary refs log tree commit diff stats
path: root/icons.lua
diff options
context:
space:
mode:
Diffstat (limited to 'icons.lua')
-rw-r--r--icons.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/icons.lua b/icons.lua
index e80f771..ddad704 100644
--- a/icons.lua
+++ b/icons.lua
@@ -4,8 +4,8 @@ function icon.insert_drawing(button_params)
   local x,y = button_params.x, button_params.y
   App.color(Icon_color)
   love.graphics.rectangle('line', x,y, 12,12)
-  love.graphics.line(4,y+6, 16,y+6)
-  love.graphics.line(10,y, 10,y+12)
+  love.graphics.line(x,y+6, x+12,y+6)
+  love.graphics.line(x+6,y, x+6,y+12)
 end
 
 function icon.hyperlink_decoration(button_params)