mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 19:28:12 +00:00
🐛 Fix swap is swapping main components on mixed
This commit is contained in:
parent
a29291e6f2
commit
cee827a97b
@ -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…
x
Reference in New Issue
Block a user