0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 00:10:11 -05:00

🐛 Fix problem with moving shapes into frames

This commit is contained in:
alonso.torres 2021-05-26 14:33:55 +02:00
parent 52f699c175
commit 7a32d902ec

View file

@ -282,7 +282,8 @@
moving-shapes (->> ids
(cp/clean-loops objects)
(map #(get objects %))
(remove #(= (:frame-id %) frame-id)))
(remove #(or (nil? %)
(= (:frame-id %) frame-id))))
rch [{:type :mov-objects
:page-id page-id