mirror of
https://github.com/penpot/penpot.git
synced 2025-02-08 08:09:14 -05:00
💄 Fix format issues on exporter module
This commit is contained in:
parent
87615ce221
commit
9fe32bb290
3 changed files with 11 additions and 13 deletions
|
@ -177,8 +177,7 @@
|
||||||
(p/catch (fn [cause]
|
(p/catch (fn [cause]
|
||||||
(p/do!
|
(p/do!
|
||||||
(ex-ignore (.destroy ^js pool browser))
|
(ex-ignore (.destroy ^js pool browser))
|
||||||
(p/rejected cause))))))
|
(p/rejected cause))))))]
|
||||||
]
|
|
||||||
|
|
||||||
(when-let [pool (deref pool)]
|
(when-let [pool (deref pool)]
|
||||||
(-> (p/do! (.acquire ^js pool))
|
(-> (p/do! (.acquire ^js pool))
|
||||||
|
|
|
@ -174,8 +174,7 @@
|
||||||
{"type" "element"
|
{"type" "element"
|
||||||
"name" "radialGradient"
|
"name" "radialGradient"
|
||||||
"attributes" {"id" id "cx" "0.5" "cy" "0.5" "r" "0.5"}
|
"attributes" {"id" id "cx" "0.5" "cy" "0.5" "r" "0.5"}
|
||||||
"elements" (get-stops data)}
|
"elements" (get-stops data)})))
|
||||||
)))
|
|
||||||
|
|
||||||
(get-gradients [id mapping]
|
(get-gradients [id mapping]
|
||||||
(->> mapping
|
(->> mapping
|
||||||
|
|
Loading…
Add table
Reference in a new issue