Skip to content

Commit

Permalink
Runtime fix for image scale with mesh
Browse files Browse the repository at this point in the history
This resolves an issue found by @lancesnider where replacing an image at runtime that is a different size that the image used at design time would not work properly when the image has a mesh applied. This does not fix a similar issue experienced when images have n-slicing applied.

Image 1 at runtime:
<img width="798" alt="Screenshot 2025-01-08 at 2 47 28 PM" src="https://github.com/user-attachments/assets/aae66c2d-40ef-42ef-9509-4a092277bc15" />

Image 2 at runtime:
<img width="797" alt="Screenshot 2025-01-08 at 2 47 43 PM" src="https://github.com/user-attachments/assets/861713de-2d8d-4bd7-b497-c84c85ac4cf4" />

Diffs=
eca00184b8 Runtime fix for image scale with mesh (#8840)
  • Loading branch information
philter committed Jan 13, 2025
1 parent 6958571 commit ea63934
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 @@
7c018ff174dc69f841e6b5011d995d8b0653ca01
eca00184b8fb096243a60594f94f91f39607a15e
2 changes: 1 addition & 1 deletion submodules/rive-cpp

0 comments on commit ea63934

Please sign in to comment.