Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Draw ShimmerDrawable mDrawRect at correct position #60

Closed
wants to merge 1 commit into from
Closed

Draw ShimmerDrawable mDrawRect at correct position #60

wants to merge 1 commit into from

Conversation

yarolegovich
Copy link
Contributor

After translation, rotation pivot (width/2, height/2) doesn't correspond to the center of mDrawRect, which leads to an incorrect mDrawRect position.
Perform translation after rotation to fix the issue.

re #59

After translation, rotation pivot (width/2, height/2) doesn't correspond to the center of mDrawRect, which leads to an incorrect mDrawRect position.
Perform translation after rotation to fix the issue.

re #59
Copy link

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@xiphirx is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants