mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 11:18:36 +00:00
🐛 Fix problem with incorrect content
This commit is contained in:
parent
165a84534a
commit
4b9e7fdb15
@ -376,7 +376,11 @@
|
||||
(not (nil? c1x)) (set-tr :c1x :c1y)
|
||||
(not (nil? c2x)) (set-tr :c2x :c2y)))]
|
||||
|
||||
(mapv #(update % :params transform-params) content)))
|
||||
(->> content
|
||||
(mapv (fn [cmd]
|
||||
(cond-> cmd
|
||||
(map? cmd)
|
||||
(update :params transform-params)))))))
|
||||
|
||||
(defn transform-content
|
||||
[content transform]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user