- added List
- added checkbox - added program - added slider - added progressbar - added reactive (dynamicValues) smaller bug fixxes
This commit is contained in:
@@ -76,8 +76,9 @@ function ElementManager.loadElement(name)
|
||||
end
|
||||
if(type(hooks)=="function")then
|
||||
element[methodName] = function(self, ...)
|
||||
original(self, ...)
|
||||
return hooks(self, ...)
|
||||
local result = original(self, ...)
|
||||
local hookResult = hooks(self, ...)
|
||||
return hookResult == nil and result or hookResult
|
||||
end
|
||||
elseif(type(hooks)=="table")then
|
||||
element[methodName] = function(self, ...)
|
||||
|
||||
Reference in New Issue
Block a user