mirror of
https://github.com/penpot/penpot.git
synced 2026-10-29 14:00:37 +00:00
💄 Fix formatting in variant and library files
Fix whitespace reported by check-fmt:clj in files/variant.cljc, logic/variant_properties.cljc and logic/libraries.cljc. AI-assisted-by: claude-opus-5-5
This commit is contained in:
parent
36a0ac0a04
commit
05ea874f79
@ -80,7 +80,7 @@
|
||||
[data component]
|
||||
(let [page-id (:main-instance-page component)
|
||||
objects (-> (dm/get-in data [:pages-index page-id])
|
||||
(get :objects))]
|
||||
(get :objects))]
|
||||
(->> (get-variant-mains data component)
|
||||
peek
|
||||
(get objects))))
|
||||
|
||||
@ -321,7 +321,7 @@
|
||||
(reduce #(pcb/add-object %1 %2 {:ignore-touched true})
|
||||
changes
|
||||
(rest new-shapes))
|
||||
|
||||
|
||||
ids-to-validate (cond-> [(:id first-shape)]
|
||||
grid-parent?
|
||||
(conj (:parent-id first-shape)))
|
||||
|
||||
@ -41,7 +41,7 @@
|
||||
{:apply-changes-local-library? true}))
|
||||
changes
|
||||
related-components)
|
||||
|
||||
|
||||
ids-to-validate (map :main-instance-id related-components)
|
||||
|
||||
changes (pcb/validate-shapes changes
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user