Skip to content

Conversation

@fredcallaway
Copy link

The scaleFactor parameter to draw has no effect. I updated the function to set the width and height elements of the SVG itself rather than the container. It now works as expected for me, using an <svg> or <div> container (paperlabel argument).

it's bad form (and can cause bugs) to change the built-in
prototypes
@fredcallaway
Copy link
Author

Also, don't change Array's prototype. The new method unique() wasn't being used anyway.

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.

1 participant