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 import ignores rectangle radius when only one side is set. #1866

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

sasensi
Copy link
Contributor

@sasensi sasensi commented Nov 4, 2020

Description

This follows the SVG spec in which only one side can be set and set the other
side to the same value in this case.
This also adds support for percent values.

Related issues

Checklist

  • New tests added or existing tests modified to cover all changes
  • Code conforms with the JSHint rules (npm run jshint passes)

@sasensi sasensi marked this pull request as draft November 4, 2020 10:10
This follows the SVG spec in which only one side can be set and set the other
side to the same value in this case.
This also adds support for percent values.

Fixes paperjs#1863
@sasensi sasensi force-pushed the fix/svg-import-with-rectangle-radius branch from 50b9b6b to 216412d Compare November 4, 2020 10:26
@sasensi sasensi marked this pull request as ready for review November 4, 2020 10:35
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.

SVG import ignores rectangle radius when only one side is set
1 participant