Skip to content

Commit

Permalink
Fixed incorrect generation of auto grid variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
vchelaru committed Dec 8, 2023
1 parent 76e09dd commit d43eabe
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,10 @@ void ExcludeIfVersionLessThan(string propertyName, GluxVersions gluxVersion)
// include/exclude just like the StateCodeGenerator:
ExcludeIfVersionLessThan("CustomFrameTextureCoordinateWidth", GluxVersions.GumUsesSystemTypes);
ExcludeIfVersionLessThan("LineHeightMultiplier", GluxVersions.GumUsesSystemTypes);
ExcludeIfVersionLessThan("AutoGridHorizontalCells", GluxVersions.GumUsesSystemTypes);
ExcludeIfVersionLessThan("AutoGridVerticalCells", GluxVersions.GumUsesSystemTypes);

// Do not generate AutoGrid properties - they are already handled by GraphicalUiElement
mVariableNamesToSkipForProperties.Add("AutoGridHorizontalCells");
mVariableNamesToSkipForProperties.Add("AutoGridVerticalCells");

// always ignore this because it's handled by GraphicalUiElement:
mVariableNamesToSkipForProperties.Add("IgnoredByParentSize");
Expand Down

0 comments on commit d43eabe

Please sign in to comment.