mirror of
https://github.com/penpot/penpot.git
synced 2025-06-14 14:31:40 +02:00
🐛 Fix remove content from boolean
This commit is contained in:
parent
a49999186f
commit
0ec49e5e95
1 changed files with 1 additions and 1 deletions
|
@ -288,7 +288,7 @@
|
||||||
(let [all-ids (into empty-parents ids)
|
(let [all-ids (into empty-parents ids)
|
||||||
contains? (partial contains? all-ids)
|
contains? (partial contains? all-ids)
|
||||||
xform (comp (map lookup)
|
xform (comp (map lookup)
|
||||||
(filter cph/group-shape?)
|
(filter #(or (cph/group-shape? %) (cph/bool-shape? %)))
|
||||||
(remove #(->> (:shapes %) (remove contains?) seq))
|
(remove #(->> (:shapes %) (remove contains?) seq))
|
||||||
(map :id))
|
(map :id))
|
||||||
parents (into #{} xform all-parents)]
|
parents (into #{} xform all-parents)]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue