mirror of
https://github.com/penpot/penpot.git
synced 2025-05-29 05:46:10 +02:00
🐛 Fixes problems with top-level shape selection
This commit is contained in:
parent
66606b7309
commit
2f0fcaf5d3
2 changed files with 19 additions and 5 deletions
|
@ -574,6 +574,7 @@
|
|||
(let [page-id (:current-page-id state)
|
||||
objects (lookup-page-objects state page-id)
|
||||
to-move-shapes (->> (cp/select-toplevel-shapes objects {:include-frames? false})
|
||||
(filterv #(= (:frame-id %) uuid/zero))
|
||||
(mapv :id)
|
||||
(d/enumerate)
|
||||
(filterv (comp shapes second)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue