mirror of
https://github.com/penpot/penpot.git
synced 2025-05-30 21:46:12 +02: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)}
|
[:div {:class (stl/css :component-parent-name)}
|
||||||
(cfh/merge-path-item (:path component) (:name component))])]]
|
(cfh/merge-path-item (:path component) (:name component))])]]
|
||||||
(when swap-opened?
|
(when swap-opened?
|
||||||
[:& component-swap {:shapes shapes}])
|
[:& component-swap {:shapes copies}])
|
||||||
|
|
||||||
(when (and (not swap-opened?) (not multi) components-v2)
|
(when (and (not swap-opened?) (not multi) components-v2)
|
||||||
[:& component-annotation {:id id :shape shape :component component}])])])))
|
[:& component-annotation {:id id :shape shape :component component}])])])))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue