Skip to content

Commit

Permalink
Fix crash on controlSize when image not yet available
Browse files Browse the repository at this point in the history
Fixes the crash reported here https://2dimensions.slack.com/archives/C078KG6KAJY/p1729725850289449.

For referenced images, we need to store off the layout size and update its size after the image has loaded, so we have its width and height in order to properly scale it to the layout's bounds.

Diffs=
4fec171eac Fix crash on controlSize when image not yet available (#8414)
  • Loading branch information
philter committed Oct 26, 2024
1 parent e1696f9 commit eb985cc
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 @@
bb3b386c1515ec9e14d7ca583b62da24d7f33a88
4fec171eac63c83a5c0a6d7abb3df0945d82775c

0 comments on commit eb985cc

Please sign in to comment.