mirror of
https://github.com/penpot/penpot.git
synced 2026-08-23 21:28:38 +00:00
🐛 Properly dissoc :metadata prop on image->path conversion.
This commit is contained in:
parent
5126c85623
commit
899dc5b680
@ -139,8 +139,8 @@
|
|||||||
(d/without-keys dissoc-attrs)
|
(d/without-keys dissoc-attrs)
|
||||||
(assoc :type :path)
|
(assoc :type :path)
|
||||||
(assoc :content new-content)
|
(assoc :content new-content)
|
||||||
(cond-> (= :image type)
|
(cond-> (= :image type) (-> (assoc :fill-image metadata)
|
||||||
(assoc :fill-image metadata))))
|
(dissoc :metadata)))))
|
||||||
;; Do nothing if the shape is not of a correct type
|
;; Do nothing if the shape is not of a correct type
|
||||||
shape))
|
shape))
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user