mirror of
https://github.com/penpot/penpot.git
synced 2026-05-01 14:18:07 +00:00
🐛 Fix wrong shape-ref on duplicate component
This commit is contained in:
parent
e59d106315
commit
6889440014
@ -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…
x
Reference in New Issue
Block a user