mirror of
https://github.com/penpot/penpot.git
synced 2025-01-22 14:39:45 -05:00
🐛 Fix crash on moving a copy in a copy (for a migrated file) (2)
This commit is contained in:
parent
c94478c9bb
commit
c8b2db8145
1 changed files with 1 additions and 0 deletions
|
@ -509,6 +509,7 @@
|
|||
(every? nil?)))]
|
||||
(or
|
||||
;;We don't want to change the structure of component copies
|
||||
(ctk/in-component-copy? parent)
|
||||
(has-any-copy-parent? objects parent)
|
||||
;; If we are moving something containing a main instance the container can't be part of a component (neither main nor copy)
|
||||
(and selected-main-instance? parent-in-component?)
|
||||
|
|
Loading…
Add table
Reference in a new issue