mirror of
https://github.com/Insality/druid.git
synced 2025-09-27 10:02:18 +02:00
Update #168 Remove unused global on_layout_change
This commit is contained in:
@@ -120,17 +120,6 @@ function M.on_window_callback(event)
|
||||
end
|
||||
|
||||
|
||||
--- Callback on global layout change event.
|
||||
-- @function druid.on_layout_change
|
||||
function M.on_layout_change()
|
||||
local instances = get_druid_instances()
|
||||
|
||||
for i = 1, #instances do
|
||||
msg.post(instances[i].url, base_component.ON_LAYOUT_CHANGE)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
--- Callback on global language change event.
|
||||
-- Use to update all lang texts
|
||||
-- @function druid.on_language_change
|
||||
|
Reference in New Issue
Block a user