0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-23 23:18:48 -05:00

💄 Review naming and comments

This commit is contained in:
Andrés Moya 2024-01-24 15:39:25 +01:00 committed by Andrey Antukh
parent 3b929041f2
commit 3b0d654b6d

View file

@ -407,10 +407,10 @@
(update :pages-index update-vals fix-container)
(d/update-when :components update-vals fix-container))))
fix-path-copies
fix-converted-copies
(fn [file-data]
;; If the user has created a copy and then converted into a path, detach it
;; because the synchronization will no longer work.
;; If the user has created a copy and then converted into a path or bool,
;; detach it because the synchronization will no longer work.
(letfn [(fix-container [container]
(d/update-when container :objects update-vals fix-shape))
@ -532,7 +532,7 @@
(add-not-nested-roots)
(remap-refs)
(fix-copies-of-detached)
(fix-path-copies)
(fix-converted-copies)
(transform-to-frames)
(remap-frame-ids)
(fix-frame-ids)