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

Width calculation #1

Open
tgeorges opened this issue Apr 15, 2015 · 0 comments
Open

Width calculation #1

tgeorges opened this issue Apr 15, 2015 · 0 comments

Comments

@tgeorges
Copy link

Hi @kungfuters

Thank you for this script, it works !
I just found a little problem when artwork left position is greater than 0, width is not calculated correctly.
To make it work you have to change line 85 from
var baseSize = artboard.artboardRect[2];
to
var baseSize = artboard.artboardRect[2] - artboard.artboardRect[0];

Tony

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