From 7aed6bef69999eca501c48cc7a516cf5ac90cb6c Mon Sep 17 00:00:00 2001 From: Michael Freno Date: Fri, 10 Oct 2025 22:28:35 -0400 Subject: [PATCH] quick fix --- FlexLove.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/FlexLove.lua b/FlexLove.lua index 02ea9ed..752e874 100644 --- a/FlexLove.lua +++ b/FlexLove.lua @@ -1275,6 +1275,11 @@ function Element.new(props) 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 ------ if props.parent == nil then table.insert(Gui.topElements, self) @@ -1538,11 +1543,6 @@ function Element.new(props) 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 ---animation