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

Stop merging path of SVG on import #321

Open buckle2000 opened 5 years ago

buckle2000 commented 5 years ago

Closes #320

buckle2000 commented 5 years ago

I removed mergePaths plugin from svgo.

https://github.com/alexjlockwood/ShapeShifter/blob/81b24ff2640f47c0e68110d21d4f0c4bb0e89147/src/app/modules/editor/scripts/svgo/index.ts#L82

Now this test will fail.

https://github.com/alexjlockwood/ShapeShifter/blob/2db235740086c793432365e24b55fea44bdef28b/src/app/modules/editor/scripts/import/SvgLoader.spec.ts#L42-L68

buckle2000 commented 5 years ago

I also think we don't need collapseGroups on import.