mirror of
https://github.com/Insality/druid
synced 2025-09-27 10:02:19 +02:00
Start implement druid layout component
This commit is contained in:
@@ -117,6 +117,12 @@ function M.on_window_callback(event)
|
||||
msg.post(instances[i].url, base_component.ON_FOCUS_GAINED)
|
||||
end
|
||||
end
|
||||
|
||||
if event == window.WINDOW_EVENT_RESIZED then
|
||||
for i = 1, #instances do
|
||||
msg.post(instances[i].url, base_component.ON_WINDOW_RESIZED)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user