mirror of
https://github.com/Insality/druid.git
synced 2025-11-26 19:00:50 +01:00
Solve #213 remove late init for progress bar
This commit is contained in:
@@ -121,11 +121,7 @@ function Progress.init(self, node, key, init_value)
|
||||
end
|
||||
|
||||
self.on_change = Event()
|
||||
end
|
||||
|
||||
|
||||
-- @tparam Progress self @{Progress}
|
||||
function Progress.on_late_init(self)
|
||||
self:set_to(self.last_value)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user