mirror of
https://github.com/Insality/druid.git
synced 2025-06-27 18:37:44 +02:00
Schedule late_init if component have on_input
This commit is contained in:
parent
6d75d61fd5
commit
0368260d16
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user