about summary refs log tree commit diff stats
path: root/main.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-05-17 23:18:56 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-05-17 23:18:56 -0700
commit6e152a9f3fc8dcae132874e9ea967bbf211fc5aa (patch)
treef3c372f00c47e99d664ff6376490f49dd618eb43 /main.lua
parentc1ba40ac70a634d90ce7345cc5f8509116bd51ff (diff)
downloadtext.love-6e152a9f3fc8dcae132874e9ea967bbf211fc5aa.tar.gz
.
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.lua b/main.lua
index 95bdc50..cd65f2d 100644
--- a/main.lua
+++ b/main.lua
@@ -129,8 +129,8 @@ function love.update(dt)
   Drawing.update(dt)
 end
 
-function love.mousepressed(x,y, button)
-  propagate_to_button_handlers(x,y, button)
+function love.mousepressed(x,y, mouse_button)
+  propagate_to_button_handlers(x,y, mouse_button)
 
   for line_index,line in ipairs(Lines) do
     if line.mode == 'text' then