mirror of
https://github.com/airstruck/luigi.git
synced 2025-12-19 02:16:43 +00:00
add master layouts
This commit is contained in:
@@ -38,11 +38,12 @@ local function metaIndex (self, property)
|
||||
local value = Widget[property]
|
||||
if value ~= nil then return value end
|
||||
|
||||
local style = self.layout.style
|
||||
local layout = self.layout
|
||||
local style = layout:getStyle()
|
||||
value = style and style:getProperty(self, property)
|
||||
if value ~= nil and value ~= 'defer' then return value end
|
||||
|
||||
local theme = self.layout.theme
|
||||
local theme = layout:getTheme()
|
||||
return theme and theme:getProperty(self, property)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user