mirror of
https://github.com/penpot/penpot.git
synced 2025-01-11 01:10:28 -05:00
💄 Fix indentation on page helpers
This commit is contained in:
parent
74be76c914
commit
b158a82a84
1 changed files with 3 additions and 2 deletions
|
@ -538,8 +538,9 @@
|
||||||
;; Implemented with transients for performance. 30~50% better
|
;; Implemented with transients for performance. 30~50% better
|
||||||
(letfn [(process-shape [objects [id shape]]
|
(letfn [(process-shape [objects [id shape]]
|
||||||
(let [frame-id (if (= :frame (:type shape)) id (:frame-id shape))
|
(let [frame-id (if (= :frame (:type shape)) id (:frame-id shape))
|
||||||
cur (-> (or (get objects frame-id) (transient {}))
|
cur (-> (or (get objects frame-id)
|
||||||
(assoc! id shape))]
|
(transient {}))
|
||||||
|
(assoc! id shape))]
|
||||||
(assoc! objects frame-id cur)))]
|
(assoc! objects frame-id cur)))]
|
||||||
(update-vals
|
(update-vals
|
||||||
(->> objects
|
(->> objects
|
||||||
|
|
Loading…
Reference in a new issue