mirror of
https://github.com/Insality/druid
synced 2025-09-27 18:12:21 +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
|
||||
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
|
||||
|
||||
|
Reference in New Issue
Block a user