mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 11:18:36 +00:00
🐛 Fix swap slot is not removed on parent detach (2)
This commit is contained in:
parent
7c64ed84f1
commit
54c506100d
@ -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…
x
Reference in New Issue
Block a user