We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
this doesn't have any effect, at least in Chrome, leading to some mixed up envelopes when loaded using setPoints.
A workaround to fix this is:
envelope.nodes.sort((a,b)=>{return a.x-b.x}) envelope.render();
The text was updated successfully, but these errors were encountered:
I'm not able to duplicate this. Can you post an example of the error you are seeing?
Here is a codepen which adds points out of order and then shows them appearing sorted. We use the same sorting algorithm that you posted.
https://codepen.io/taylorbf/pen/qLZZgp
Sorry, something went wrong.
No branches or pull requests
this doesn't have any effect, at least in Chrome, leading to some mixed up envelopes when loaded using setPoints.
A workaround to fix this is:
The text was updated successfully, but these errors were encountered: