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

Fix svg drawer #189

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

Fix svg drawer #189

wants to merge 2 commits into from

Conversation

lofcz
Copy link

@lofcz lofcz commented Jul 29, 2024

When using SVG drawer, weights can be false, in which case running .every on them is invalid. This adds a guard.
Note this incorporates changes from #175 too, as these two changes are the bare minimum for SVG rendering to work.

christoph-elfmann and others added 2 commits June 15, 2023 23:14
…r.draw()`

Resolves reymond-group#171. Although the `weights` parameter was added to
`SvgDrawer.draw()` in f3693b3, the method call in `Drawer.draw()` wasn't
updated correspondingly. `Drawer.draw()` could be amended to also take a
`weights` argument, which it would pass to `SvgDrawer.draw()`, but this might
break existing code even more and would require an update of the
documentation of the README.
Copy link

netlify bot commented Jul 29, 2024

Deploy Preview for smilesdrawer-doc canceled.

Name Link
🔨 Latest commit 3620fec
🔍 Latest deploy log https://app.netlify.com/sites/smilesdrawer-doc/deploys/66a8281e67ae590008957d62

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.

2 participants