summaryrefslogtreecommitdiffhomepage
path: root/button.lua
diff options
context:
space:
mode:
Diffstat (limited to 'button.lua')
-rw-r--r--button.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/button.lua b/button.lua
index d7caf74..fd12e0b 100644
--- a/button.lua
+++ b/button.lua
@@ -34,6 +34,7 @@ end
function Button:getPosition() return self.x,self.y end
function Button:focus(next)
self.focused = true
+ return true
end
function Button:blur()
self.focused = false