-
-
Notifications
You must be signed in to change notification settings - Fork 58
Issue 58 clip path without spaces do not render draggable vertices #59
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
Issue 58 clip path without spaces do not render draggable vertices #59
Conversation
…s not render the DraggableVertices
…tween the percentages
|
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/thoughtdump/tryshape/AbMk3X7KX28LyhFdVFegpG3hxrqr |
components/core/CreateShape.js
Outdated
| "y": percentageArray[1], | ||
| } | ||
| let values = x.trim(); | ||
| let xValue = values.substring(0, values.indexOf("%") + 1).trim(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@williamzhu17, the clip-path value can take other units than %. We should support them in our logic.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
they should now be able to take in px values
…e when moving the draggablevertices
…nvalid breaks the app
…thout-spaces-do-not-render-DraggableVertices
atapas
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes are looking good. Approving
No description provided.