-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apply left/top bounds before scaling #2565
Conversation
Should move the image to the right place before scaling it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add some context and an example of something that was broken before but working correctly now?
Here is my code, you can add it to PreviewFragment to reproduce this issue. Thank you!
|
Could you add a unit test or snapshot test that would catch this? |
Should move the image to the right place before scaling it.
…n/lottie-android into qhyuan/seebar-thumb-bounds
Hi, are there any other issues with this commit? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checked other transforms and we do preTranslate before preScale in other places so this is likely correct. 🤞
Should move the image to the right place before scaling it.