Skip to content

Commit

Permalink
Use renderImage size to scale images in layouts
Browse files Browse the repository at this point in the history
On the heels of [this update](https://github.com/rive-app/rive/pull/8484) which decodes images on demand on web, this PR removes the workaround to use the ImageAsset's core width/height to scale an image inside a layout component in favor or the renderImage's width/height.

Diffs=
af9e217d23 Use renderImage size to scale images in layouts (#8487)
  • Loading branch information
philter committed Nov 5, 2024
1 parent 9b05e7f commit 4b2ed24
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 @@
ce9e44c6b386d1a813689f6950b5ac59646ad265
af9e217d237bab4121dc7a002feca1931f6b5009
2 changes: 1 addition & 1 deletion submodules/rive-runtime

0 comments on commit 4b2ed24

Please sign in to comment.