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

invalid attribute: stroke-width should not be 'NaN' #31

Open
chrisgarrity opened this issue May 12, 2020 · 1 comment
Open

invalid attribute: stroke-width should not be 'NaN' #31

chrisgarrity opened this issue May 12, 2020 · 1 comment

Comments

@chrisgarrity
Copy link

chrisgarrity commented May 12, 2020

Some sprites' svgs get exported with stroke-width="NaN". This is not a valid attribute and causes errors when the svg is imported to other systems (Android).

When this is fixed file an issue on scratch-android to remove the work-around.

@BryceLTaylor
Copy link

This is related to these issues:
#32
#33

There are workaround for Android that strip each of these properties out of svgs that are a processing burden. According to @chrisgarrity, "There are now 4 work-arounds that require reading every svg file 4 times and making substitutions as needed."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants