mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 07:29:08 -05:00
💄 Review naming and comments
This commit is contained in:
parent
3b929041f2
commit
3b0d654b6d
1 changed files with 4 additions and 4 deletions
|
@ -407,10 +407,10 @@
|
||||||
(update :pages-index update-vals fix-container)
|
(update :pages-index update-vals fix-container)
|
||||||
(d/update-when :components update-vals fix-container))))
|
(d/update-when :components update-vals fix-container))))
|
||||||
|
|
||||||
fix-path-copies
|
fix-converted-copies
|
||||||
(fn [file-data]
|
(fn [file-data]
|
||||||
;; If the user has created a copy and then converted into a path, detach it
|
;; If the user has created a copy and then converted into a path or bool,
|
||||||
;; because the synchronization will no longer work.
|
;; detach it because the synchronization will no longer work.
|
||||||
(letfn [(fix-container [container]
|
(letfn [(fix-container [container]
|
||||||
(d/update-when container :objects update-vals fix-shape))
|
(d/update-when container :objects update-vals fix-shape))
|
||||||
|
|
||||||
|
@ -532,7 +532,7 @@
|
||||||
(add-not-nested-roots)
|
(add-not-nested-roots)
|
||||||
(remap-refs)
|
(remap-refs)
|
||||||
(fix-copies-of-detached)
|
(fix-copies-of-detached)
|
||||||
(fix-path-copies)
|
(fix-converted-copies)
|
||||||
(transform-to-frames)
|
(transform-to-frames)
|
||||||
(remap-frame-ids)
|
(remap-frame-ids)
|
||||||
(fix-frame-ids)
|
(fix-frame-ids)
|
||||||
|
|
Loading…
Add table
Reference in a new issue