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:
@@ -39,6 +39,12 @@ function Layout:init(node, mode, on_size_changed_callback)
|
||||
end
|
||||
|
||||
|
||||
function Layout.on_internal_remove(self)
|
||||
component.on_internal_remove(self)
|
||||
self.on_size_changed:clear()
|
||||
end
|
||||
|
||||
|
||||
function Layout:on_window_resized()
|
||||
local window_x, window_y = window.get_size()
|
||||
local stretch_x = window_x / self.window_size.x
|
||||
|
Reference in New Issue
Block a user