about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2023-03-25 21:56:14 -0700
committerKartik K. Agaram <vc@akkartik.com>2023-03-25 21:56:14 -0700
commit9fff5b713214263a1565cf933f5db165483a5081 (patch)
tree789c7b243c8b23fe025dbbbfd4a8072c754f8d1b
parentcf4451dc1b772219a79a6fc300c1196232920539 (diff)
parent57ed70d9125a45c819302c23445732b1acc14e8f (diff)
downloadtext.love-9fff5b713214263a1565cf933f5db165483a5081.tar.gz
Merge lines.love
-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)