Update #168 Remove unused global on_layout_change

This commit is contained in:
Insality
2022-03-01 02:09:28 +02:00
parent 129a102cc8
commit a87a576ded
2 changed files with 0 additions and 22 deletions

View File

@@ -410,17 +410,6 @@ function DruidInstance.on_focus_gained(self)
end
--- Druid on layout change function.
-- Called on update gui layout
-- @tparam DruidInstance self
function DruidInstance.on_layout_change(self)
local components = self.components_interest[base_component.ON_LAYOUT_CHANGE]
for i = 1, #components do
components[i]:on_layout_change()
end
end
--- Druid on language change.
-- This one called by global gruid.on_language_change, but can be
-- call manualy to update all translations