diff --git a/button.lua b/button.lua index c495b5f..10f32ff 100644 --- a/button.lua +++ b/button.lua @@ -9,7 +9,7 @@ function button(name, params) end -- process button event handlers -function propagate_to_button_handers(x, y, button) +function propagate_to_button_handlers(x, y, button) for _,ev in ipairs(button_handlers) do if x>ev.x and xev.y and y