mirror of
https://github.com/penpot/penpot.git
synced 2026-09-13 15:38:38 +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? c1x)) (set-tr :c1x :c1y)
|
||||||
(not (nil? c2x)) (set-tr :c2x :c2y)))]
|
(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
|
(defn transform-content
|
||||||
[content transform]
|
[content transform]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user