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: support values of 0 in stroke-dasharray #2721

Merged
merged 2 commits into from
Apr 23, 2024

Conversation

cfhull
Copy link
Contributor

@cfhull cfhull commented Apr 22, 2024

This code previously required the values in stroke-dasharray to be greater than zero, but zero is actually a valid value. It can be used with stroke-linecap to create dotted lines. See here

Copy link

changeset-bot bot commented Apr 22, 2024

🦋 Changeset detected

Latest commit: c0b97a7

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 7 packages
Name Type
@react-pdf/pdfkit Patch
@react-pdf/layout Patch
@react-pdf/renderer Patch
@react-pdf/svgkit Patch
@react-pdf/examples Patch
@react-pdf/e2e-node-cjs Patch
@react-pdf/e2e-node-esm Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@diegomura diegomura changed the title Support values of 0 in stroke-dasharray fix: support values of 0 in stroke-dasharray Apr 23, 2024
Copy link
Owner

@diegomura diegomura left a comment

Choose a reason for hiding this comment

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

utACK

@diegomura diegomura self-assigned this Apr 23, 2024
@diegomura
Copy link
Owner

Thanks!

@diegomura diegomura merged commit 713690c into diegomura:master Apr 23, 2024
@cfhull cfhull deleted the cfhull-patch-1 branch April 23, 2024 13:06
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.

None yet

2 participants