quick fix
This commit is contained in:
10
FlexLove.lua
10
FlexLove.lua
@@ -1275,6 +1275,11 @@ function Element.new(props)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Grid item properties (set early so they're available when addChild is called)
|
||||||
|
self.gridColumn = props.gridColumn
|
||||||
|
self.gridRow = props.gridRow
|
||||||
|
self.gridArea = props.gridArea
|
||||||
|
|
||||||
------ add hereditary ------
|
------ add hereditary ------
|
||||||
if props.parent == nil then
|
if props.parent == nil then
|
||||||
table.insert(Gui.topElements, self)
|
table.insert(Gui.topElements, self)
|
||||||
@@ -1538,11 +1543,6 @@ function Element.new(props)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Grid item properties (can be set on any element that's a child of a grid)
|
|
||||||
self.gridColumn = props.gridColumn
|
|
||||||
self.gridRow = props.gridRow
|
|
||||||
self.gridArea = props.gridArea
|
|
||||||
|
|
||||||
self.alignSelf = props.alignSelf or AlignSelf.AUTO
|
self.alignSelf = props.alignSelf or AlignSelf.AUTO
|
||||||
|
|
||||||
---animation
|
---animation
|
||||||
|
|||||||
Reference in New Issue
Block a user