mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 23:49:45 -05:00
🐛 Fix problem with incorrect content
This commit is contained in:
parent
165a84534a
commit
4b9e7fdb15
1 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue