diff --git a/CHANGES.md b/CHANGES.md index d502cc512..0bd13d305 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -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 diff --git a/frontend/src/app/main/ui/shapes/attrs.cljs b/frontend/src/app/main/ui/shapes/attrs.cljs index 5185a17ed..973a155a4 100644 --- a/frontend/src/app/main/ui/shapes/attrs.cljs +++ b/frontend/src/app/main/ui/shapes/attrs.cljs @@ -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))]