mirror of
https://github.com/Insality/druid.git
synced 2025-06-27 10:27:47 +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
|
||||
instance:init(...)
|
||||
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)
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user