mirror of
https://github.com/penpot/penpot.git
synced 2025-05-25 00:46:11 +02:00
🐛 Fix problem while moving imported SVG's
This commit is contained in:
parent
8a158146cd
commit
45d55e87eb
2 changed files with 3 additions and 1 deletions
|
@ -40,6 +40,7 @@
|
||||||
- Fix SVG components preview [#1134](https://github.com/penpot/penpot/issues/1134)
|
- 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 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 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
|
### :arrow_up: Deps updates
|
||||||
### :boom: Breaking changes
|
### :boom: Breaking changes
|
||||||
|
|
|
@ -159,7 +159,8 @@
|
||||||
id))
|
id))
|
||||||
svg-attrs (-> svg-attrs
|
svg-attrs (-> svg-attrs
|
||||||
(usvg/clean-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))
|
attrs (-> svg-attrs (dissoc :style) (clj->js))
|
||||||
styles (-> svg-attrs (:style {}) (clj->js))]
|
styles (-> svg-attrs (:style {}) (clj->js))]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue