alexjlockwood / ShapeShifter

SVG icon animation tool for Android, iOS, and the web
https://shapeshifter.design
Apache License 2.0
3.97k stars 200 forks source link

Beta does not seem to be able to import icons that have a hole in them #327

Open lbenedetto opened 5 years ago

lbenedetto commented 5 years ago

It can't import this svg from the material icons library. I've also had trouble import other icons such as a search icon.

https://material.io/tools/icons/static/icons/baseline-location_on-24px.svg

Correctly imported by release version of ShapeShifter image

Failed import by ShapeShifter beta image

The actual path strings after import are identical

bhaarata commented 4 years ago

Yes, I have the same – correctly imported by release version of ShapeShifter, and by beta was failed. Correct link to SVG: https://material.io/resources/icons/?icon=location_on&style=baseline

Or here is the code from this SVG: <svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0z" fill="none"/><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"/></svg>