From 57ed70d9125a45c819302c23445732b1acc14e8f Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 25 Mar 2023 18:34:28 -0700 Subject: clean up some absolute coordinates --- icons.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'icons.lua') 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) -- cgit 1.4.1-2-gfad0