#58 fix get druid instance by name

This commit is contained in:
Insality
2020-05-07 23:48:37 +03:00
parent b9ebedbcf9
commit bb565432f3
3 changed files with 6 additions and 56 deletions

View File

@@ -61,7 +61,7 @@ end
-- Create the component itself
local function create(self, instance_class)
local instance = instance_class()
instance:setup_component(self._context, self._style)
instance:setup_component(self, self._context, self._style)
table.insert(self.components[const.ALL], instance)