mirror of
https://github.com/penpot/penpot.git
synced 2026-09-11 22:49:30 +00:00
🐛 Fix minor regression on paste shapes with fill-image
This commit is contained in:
parent
e1ce7ec787
commit
1a8a9df2b7
@ -679,14 +679,8 @@
|
|||||||
mobj (get media-idx id)]
|
mobj (get media-idx id)]
|
||||||
(if mobj
|
(if mobj
|
||||||
(if (empty? attr-path)
|
(if (empty? attr-path)
|
||||||
(-> mdata
|
(assoc mdata :id (:id mobj))
|
||||||
(assoc :id (:id mobj))
|
(update-in mdata attr-path assoc :id (:id mobj)))
|
||||||
(assoc :path (:path mobj)))
|
|
||||||
(update-in mdata attr-path (fn [value]
|
|
||||||
(-> value
|
|
||||||
(assoc :id (:id mobj))
|
|
||||||
(assoc :path (:path mobj))))))
|
|
||||||
|
|
||||||
mdata)))
|
mdata)))
|
||||||
|
|
||||||
(add-obj? [chg]
|
(add-obj? [chg]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user