mirror of
https://github.com/penpot/penpot.git
synced 2025-05-12 20:16:37 +02:00
🐛 Fix problem with moving shapes into frames
This commit is contained in:
parent
52f699c175
commit
7a32d902ec
1 changed files with 2 additions and 1 deletions
|
@ -282,7 +282,8 @@
|
||||||
moving-shapes (->> ids
|
moving-shapes (->> ids
|
||||||
(cp/clean-loops objects)
|
(cp/clean-loops objects)
|
||||||
(map #(get objects %))
|
(map #(get objects %))
|
||||||
(remove #(= (:frame-id %) frame-id)))
|
(remove #(or (nil? %)
|
||||||
|
(= (:frame-id %) frame-id))))
|
||||||
|
|
||||||
rch [{:type :mov-objects
|
rch [{:type :mov-objects
|
||||||
:page-id page-id
|
:page-id page-id
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue