Add druid with context, get component druid as helper.get_druid(context)

This commit is contained in:
Insality
2019-12-05 22:39:35 +03:00
parent da27d6edd8
commit b8dec4826f
12 changed files with 51 additions and 30 deletions

View File

@@ -12,7 +12,7 @@ M.interest = {
local function on_change_value(self)
if self.callback then
self.callback(self.parent.parent, self.value)
self.callback(self.context, self.value)
end
end