mirror of
https://github.com/Insality/druid
synced 2025-09-27 18:12:21 +02:00
#58 fix get druid instance by name
This commit is contained in:
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user