mirror of
https://github.com/penpot/penpot.git
synced 2025-01-09 00:10:11 -05:00
🐛 Fix can't move a layer on a copy
This commit is contained in:
parent
e33b08f47f
commit
8c72770fec
1 changed files with 3 additions and 1 deletions
|
@ -505,7 +505,9 @@
|
|||
ids (if (nil? ids) selected ids)
|
||||
shapes (into []
|
||||
(comp (map (d/getf objects))
|
||||
(remove ctk/in-component-copy-not-head?))
|
||||
(remove #(let [parent (get objects (:parent-id %))]
|
||||
(and (ctk/in-component-copy? parent)
|
||||
(ctl/any-layout? parent)))))
|
||||
ids)
|
||||
|
||||
duplicate-move-started? (get-in state [:workspace-local :duplicate-move-started?] false)
|
||||
|
|
Loading…
Reference in a new issue