Skip to content

Partially revert previous change to ImageLayer.getBounds()#2623

Merged
gpeal merged 1 commit intoairbnb:masterfrom
allenchen1154:allen--imagelayer-fix-attempt-2
Mar 20, 2025
Merged

Partially revert previous change to ImageLayer.getBounds()#2623
gpeal merged 1 commit intoairbnb:masterfrom
allenchen1154:allen--imagelayer-fix-attempt-2

Conversation

@allenchen1154
Copy link
Copy Markdown
Collaborator

The changes in #2578 set the bounds returned by ImageLayer.getBounds() to have 0 width and 0 height if there is no Bitmap available. This change instead calls the previous version of the logic which reads the width and height of the LottieImageAsset.

The changes in airbnb#2578 set the bounds returned by `ImageLayer.getBounds()` to have 0 width and 0 height if there is no Bitmap available. This change instead calls the previous version of the logic which reads the width and height of the `LottieImageAsset`.
@allenchen1154 allenchen1154 requested a review from gpeal March 19, 2025 18:10
@github-actions
Copy link
Copy Markdown

Snapshot Tests
API 23: Report Diff
API 31: Report Diff

@gpeal gpeal merged commit 4bcc736 into airbnb:master Mar 20, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants