0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-04-16 00:41:25 -05:00

💄 Minor cosmetic change on reg-object.

This commit is contained in:
Andrey Antukh 2022-01-20 18:22:21 +01:00 committed by Andrés Moya
parent c754a757eb
commit 07a0f67b32

View file

@ -160,9 +160,7 @@
update-fn #(d/update-when %1 %2 update-group %1)
xform (comp
(mapcat #(cons % (cph/get-parents % objects)))
(map lookup)
(filter #(contains? #{:group :bool} (:type %)))
(map :id)
(filter #(contains? #{:group :bool} (-> % lookup :type)))
(distinct))]
(->> (sequence xform shapes)