mirror of
https://github.com/Insality/druid
synced 2025-09-27 18:12:21 +02:00
Solve #182 add table pool for events
This commit is contained in:
@@ -217,6 +217,14 @@ function Text.init(self, node, value, adjust_type)
|
||||
end
|
||||
|
||||
|
||||
function Text.on_internal_remove(self)
|
||||
component.on_internal_remove(self)
|
||||
self.on_set_text:clear()
|
||||
self.on_set_pivot:clear()
|
||||
self.on_update_text_scale:clear()
|
||||
end
|
||||
|
||||
|
||||
function Text.on_layout_change(self)
|
||||
self:set_to(self.last_value)
|
||||
end
|
||||
|
Reference in New Issue
Block a user