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 e='50d6c374de23adebc7a3a2742c6c20dfd87010fb'>this commit Soul of a tiny new machine. More thorough tests → More comprehensible and rewrite-friendly software → More resilient society.Kartik K. Agaram <vc@akkartik.com>
about summary refs log blame commit diff stats
path: root/013literal_string.cc
blob: 0d4e3573057918e7cada00ca8044c2624687a7d5 (plain) (tree)
1
2
3
4
5
6
7
8
9