diff options
-rw-r--r-- | main.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/main.lua b/main.lua index 12f03fb..6cb7a2e 100644 --- a/main.lua +++ b/main.lua @@ -88,6 +88,10 @@ function love.update(dt) end end +function love.mousepressed(x,y, button) + propagate_to_button_handers(x,y, button) +end + function love.mousereleased(x,y, button) if lines.current then if lines.current.pending then @@ -125,7 +129,3 @@ end function love.keyreleased(key, scancode) end - -function love.mousepressed(x,y, button) - propagate_to_button_handers(x,y, button) -end |