mirror of
https://github.com/airstruck/luigi.git
synced 2025-12-19 02:16:43 +00:00
merge window into layout
This commit is contained in:
@@ -232,8 +232,13 @@ function Widget:getAncestors (includeSelf)
|
||||
end
|
||||
end
|
||||
|
||||
function Widget:update ()
|
||||
self.layout:update()
|
||||
function Widget:reflow ()
|
||||
self.position = {}
|
||||
self.dimensions = {}
|
||||
for i, widget in ipairs(self.children) do
|
||||
widget.position = {}
|
||||
widget.dimensions = {}
|
||||
end
|
||||
end
|
||||
|
||||
Event.injectBinders(Widget)
|
||||
|
||||
Reference in New Issue
Block a user