mirror of
https://github.com/Insality/druid.git
synced 2025-06-27 18:37:44 +02:00
Solve #213 remove late init for progress bar
This commit is contained in:
parent
fadd0c4c4b
commit
337a43ae08
@ -121,11 +121,7 @@ function Progress.init(self, node, key, init_value)
|
|||||||
end
|
end
|
||||||
|
|
||||||
self.on_change = Event()
|
self.on_change = Event()
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
-- @tparam Progress self @{Progress}
|
|
||||||
function Progress.on_late_init(self)
|
|
||||||
self:set_to(self.last_value)
|
self:set_to(self.last_value)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user