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

📎 Add TODO comment on changes ns

This commit is contained in:
Andrey Antukh 2022-03-31 15:12:55 +02:00 committed by Andrés Moya
parent 8eae892983
commit c5b1b67c50

View file

@ -96,6 +96,7 @@
(-> (update :touched cph/set-touched-group :shapes-group)
(dissoc :remote-synced?)))))
;; TODO: this looks wrong, why we allow nil values?
(update-objects [objects parent-id]
(if (and (or (nil? parent-id) (contains? objects parent-id))
(or (nil? frame-id) (contains? objects frame-id)))