about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-05-11 21:54:45 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-05-11 21:54:45 -0700
commit83b893df8ceed11ad2d03ddd7b8c765be8ac577b (patch)
tree0b19e390abee98fa862f2b961e5fc38425af6ec1
parenta405f9e77742aff0e3eff84f06efecf3a125ea13 (diff)
downloadtext.love-83b893df8ceed11ad2d03ddd7b8c765be8ac577b.tar.gz
spacing
-rw-r--r--main.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.lua b/main.lua
index cc7f67c..12f03fb 100644
--- a/main.lua
+++ b/main.lua
@@ -26,7 +26,7 @@ function love.draw()
     text = love.graphics.newText(love.graphics.getFont(), line)
     if line == '' then
       button('draw', {x=4,y=y+4, w=12,h=12, color={1,1,0},
-        icon = function(x, y)
+        icon = function(x,y)
                  love.graphics.setColor(0.7,0.7,0.7)
                  love.graphics.rectangle('line', x,y, 12,12)
                  love.graphics.line(4,y+6, 16,y+6)
@@ -126,6 +126,6 @@ end
 function love.keyreleased(key, scancode)
 end
 
-function love.mousepressed(x, y, button)
-  propagate_to_button_handers(x, y, button)
+function love.mousepressed(x,y, button)
+  propagate_to_button_handers(x,y, button)
 end