🐛 Fix problem while moving imported SVG's

This commit is contained in:
alonso.torres 2021-09-13 11:40:06 +02:00 committed by Andrés Moya
parent 8a158146cd
commit 45d55e87eb
2 changed files with 3 additions and 1 deletions

View file

@ -40,6 +40,7 @@
- Fix SVG components preview [#1134](https://github.com/penpot/penpot/issues/1134)
- Fix group renaming problem [Taiga #1969](https://tree.taiga.io/project/penpot/issue/1969)
- Fix problem with import broken images links [#1197](https://github.com/penpot/penpot/issues/1197)
- Fix problem while moving imported SVG's [#1199](https://github.com/penpot/penpot/issues/1199)
### :arrow_up: Deps updates
### :boom: Breaking changes

View file

@ -159,7 +159,8 @@
id))
svg-attrs (-> svg-attrs
(usvg/clean-attrs)
(usvg/update-attr-ids replace-id))
(usvg/update-attr-ids replace-id)
(dissoc :id))
attrs (-> svg-attrs (dissoc :style) (clj->js))
styles (-> svg-attrs (:style {}) (clj->js))]