mirror of
https://github.com/penpot/penpot.git
synced 2025-01-09 08:20:45 -05:00
🐛 Fix swap slot is not removed on parent detach (2)
This commit is contained in:
parent
7c64ed84f1
commit
54c506100d
1 changed files with 2 additions and 2 deletions
|
@ -233,8 +233,8 @@
|
|||
; If the initial shape was component-root, first level subinstances are converted in top instances
|
||||
(pcb/update-shapes [shape-id] #(assoc % :component-root true))
|
||||
|
||||
component-root?
|
||||
; If the initial shape was component-root, first level subinstances can't have swap-slot
|
||||
:always
|
||||
; First level subinstances of a detached component can't have swap-slot
|
||||
(pcb/update-shapes [shape-id] ctk/remove-swap-slot)
|
||||
|
||||
:always
|
||||
|
|
Loading…
Reference in a new issue