mirror of
https://github.com/Insality/druid.git
synced 2025-09-28 10:32:20 +02:00
Add druid with context, get component druid as helper.get_druid(context)
This commit is contained in:
@@ -26,7 +26,7 @@ end
|
||||
-- @tparam table action on_input action
|
||||
function M.on_input(self, action_id, action)
|
||||
if action[const.RELEASED] then
|
||||
self.callback(self.parent.parent, self.params)
|
||||
self.callback(self.context, self.params)
|
||||
end
|
||||
|
||||
return true
|
||||
|
Reference in New Issue
Block a user