mirror of
https://github.com/penpot/penpot.git
synced 2025-03-13 16:21:57 -05:00
🐛 Fix wrong shape-ref on duplicate component
This commit is contained in:
parent
e59d106315
commit
6889440014
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@
|
|||
(-> (gsh/move delta)
|
||||
(dissoc :touched :main-instance?))
|
||||
|
||||
(nil? (:shape-ref original-shape))
|
||||
(and (not main-instance?) (nil? (:shape-ref original-shape)))
|
||||
(assoc :shape-ref (:id original-shape))
|
||||
|
||||
(nil? (:parent-id original-shape))
|
||||
|
|
Loading…
Add table
Reference in a new issue