summaryrefslogtreecommitdiffhomepage
path: root/element.lua
diff options
context:
space:
mode:
Diffstat (limited to 'element.lua')
-rw-r--r--element.lua8
1 files changed, 2 insertions, 6 deletions
diff --git a/element.lua b/element.lua
index 5ca013b..f9d1c3d 100644
--- a/element.lua
+++ b/element.lua
@@ -26,12 +26,8 @@ function Element:set(name, func)
end
-- Menu callbacks
-function Element:focus(next) -- Called when Element gains focus
- if next and self.parent then
- self.parent:next()
- else
- self.parent:previous()
- end
+function Element:focus() -- Called when Element gains focus
+ return false
end
function Element:blur() end -- Called when Element loses focus