Skip to content

Fix drawImage clipping bug #513

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

Closed
wants to merge 1 commit into from

Conversation

woodcoder
Copy link
Contributor

Fix regression introduced by reordering of image shadow code in 39766d1 -- the clip width and height wasn't being adjusted for the current scale. Affected images that were not being drawn at 1:1 scale.

Candidate fix for #512.

…lip width and height wasn't being adjusted for the current scale. Affected images that were not being drawn at 1:1 scale.
@TooTallNate
Copy link
Contributor

LGTM, I think.

We should probably start getting in the habit of adding test cases for regressions like this.

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.

3 participants