mirror of
https://github.com/Insality/druid.git
synced 2025-09-27 18:12:19 +02:00
Schedule late_init if component have on_input
This commit is contained in:
@@ -252,7 +252,7 @@ function DruidInstance.new(self, component, ...)
|
|||||||
if instance.init then
|
if instance.init then
|
||||||
instance:init(...)
|
instance:init(...)
|
||||||
end
|
end
|
||||||
if instance.on_late_init then
|
if instance.on_late_init or (not self.input_inited and instance.on_input) then
|
||||||
schedule_late_init(self)
|
schedule_late_init(self)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user