mirror of
https://github.com/penpot/penpot.git
synced 2025-01-10 00:40:30 -05:00
🐛 Fix swap is swapping main components on mixed
This commit is contained in:
parent
a29291e6f2
commit
cee827a97b
1 changed files with 1 additions and 1 deletions
|
@ -492,7 +492,7 @@
|
|||
[:div {:class (stl/css :component-parent-name)}
|
||||
(cfh/merge-path-item (:path component) (:name component))])]]
|
||||
(when swap-opened?
|
||||
[:& component-swap {:shapes shapes}])
|
||||
[:& component-swap {:shapes copies}])
|
||||
|
||||
(when (and (not swap-opened?) (not multi) components-v2)
|
||||
[:& component-annotation {:id id :shape shape :component component}])])])))
|
||||
|
|
Loading…
Reference in a new issue