Skip to content
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

Add 2 new tests for recent issues cases #1425

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

asturur
Copy link
Contributor

@asturur asturur commented May 12, 2019

Added correct test for drawImage + clip + shadow
image

Added failing test for gradient + low opacity
image

@asturur asturur changed the title Add a test for interaction of clip + drawImage 9 args + shadow Add 2 new tests for recent issues cases May 12, 2019
@LinusU
Copy link
Collaborator

LinusU commented May 13, 2019

Would you mind fixing the linting issues: https://travis-ci.org/Automattic/node-canvas/jobs/531320266

☺️

ctx.transform(cos, sin, -sin, cos, x, y);
}

var I = 100;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Since this is just used on the line below, I would just do for (var i = 0; i < 100; i++)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes i just copy pasted the code from the issue, i did not think of improving it.

@NightScript370
Copy link

I just send a PR to @asturur's repository that fixes @LinusU's review. I also made it consistent with the other examples by not having semi-colins

@asturur
Copy link
Contributor Author

asturur commented Jun 6, 2019

hey thanks, i have been quite busy at work

@zbjornson zbjornson force-pushed the master branch 2 times, most recently from 64ed3d8 to ff0f2ab Compare December 28, 2023 23:22
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