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

Export fails due to how shapes are handled #35

Open
daswisher opened this issue Sep 20, 2018 · 0 comments
Open

Export fails due to how shapes are handled #35

daswisher opened this issue Sep 20, 2018 · 0 comments

Comments

@daswisher
Copy link

daswisher commented Sep 20, 2018

Adding things like a star to the page causes it to crash during export. This is within the isCircle function where it calls var points = layer.layers()[0].allCurvePoints(); on helpers.ts (line 82).

Commenting out the code on the js file within the plugin bundle (lines 1113-1121) seemed to fixed the issue for now, but it means I can't add any other shapes aside from rectangles and circles.

Sketch Version: 51.3

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

No branches or pull requests

1 participant