Skip to content

Commit

Permalink
Layout misc fixes
Browse files Browse the repository at this point in the history
Fixes a couple of issues:
1. When checking if a component should default to fixed or hug, parametric Shapes were improperly bucketed as fixed because a Shape is a Node, so the if statement needed to be adjusted.
2. When synching style, need to reset flexGrow/flexShrink in particular because if a layout was created with type fill initially, the flexShrink value would never get reset, so the sizing behavior was wrong.

Diffs=
bc4d42b7b Layout misc fixes (#8292)
  • Loading branch information
philter committed Oct 7, 2024
1 parent bc91546 commit d3644d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .rive_head
Original file line number Diff line number Diff line change
@@ -1 +1 @@
31bf5a44f282bd4c233a6fb9e44e73b0378bf449
bc4d42b7b3d24c4ba12d3f2af32904c910d37d70
2 changes: 1 addition & 1 deletion submodules/rive-cpp

0 comments on commit d3644d3

Please sign in to comment.