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

Typo in triangle() #39

Closed
fjenett opened this issue Oct 5, 2012 · 1 comment
Closed

Typo in triangle() #39

fjenett opened this issue Oct 5, 2012 · 1 comment

Comments

@fjenett
Copy link

fjenett commented Oct 5, 2012

This line in triangle():

, x1, x2 // start of path

https://github.com/MrRio/jsPDF/blob/master/jspdf.js#L1154

should probably be:

, x1, y1
@dvdotsenko
Copy link
Collaborator

@MrRio

This is likely my fault. This patch https://github.com/fjenett/jsPDF/commit/3c38a5bcf4d813db3facecc2ad15b4f8e0f6994e makes sense.

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

No branches or pull requests

3 participants