mirror of
https://github.com/penpot/penpot.git
synced 2025-07-13 03:37:17 +02:00
Merge pull request #6773 from penpot/niwinz-staging-paste-regression
🐛 Fix minor regression on paste shapes with fill-image
This commit is contained in:
commit
1b67be2f36
1 changed files with 2 additions and 8 deletions
|
@ -679,14 +679,8 @@
|
|||
mobj (get media-idx id)]
|
||||
(if mobj
|
||||
(if (empty? attr-path)
|
||||
(-> mdata
|
||||
(assoc :id (:id mobj))
|
||||
(assoc :path (:path mobj)))
|
||||
(update-in mdata attr-path (fn [value]
|
||||
(-> value
|
||||
(assoc :id (:id mobj))
|
||||
(assoc :path (:path mobj))))))
|
||||
|
||||
(assoc mdata :id (:id mobj))
|
||||
(update-in mdata attr-path assoc :id (:id mobj)))
|
||||
mdata)))
|
||||
|
||||
(add-obj? [chg]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue