mirror of
https://github.com/airstruck/luigi.git
synced 2025-12-19 02:16:43 +00:00
scrap widget inheritance
This commit is contained in:
@@ -13,7 +13,7 @@ local weakValueMeta = { __mode = 'v' }
|
||||
|
||||
function Layout:constructor (data)
|
||||
self.widgets = setmetatable({}, weakValueMeta)
|
||||
self.root = Widget.create(self, data or {})
|
||||
self.root = Widget(self, data or {})
|
||||
self:setStyle()
|
||||
self:setTheme()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user