mirror of
https://github.com/penpot/penpot.git
synced 2025-01-23 06:58:58 -05:00
🐛 Fix exporter to frontend communication
This commit is contained in:
parent
28b6175943
commit
bc3914e7e0
3 changed files with 3 additions and 3 deletions
|
@ -24,7 +24,7 @@
|
|||
[promesa.core :as p]))
|
||||
|
||||
(defn render
|
||||
[{:keys [file-id page-id token scale type uri objects] :as params} on-object]
|
||||
[{:keys [file-id page-id token scale type objects] :as params} on-object]
|
||||
(letfn [(prepare-options [uri]
|
||||
#js {:screen #js {:width bw/default-viewport-width
|
||||
:height bw/default-viewport-height}
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
[promesa.core :as p]))
|
||||
|
||||
(defn render
|
||||
[{:keys [file-id page-id token scale type uri objects] :as params} on-object]
|
||||
[{:keys [file-id page-id token scale type objects] :as params} on-object]
|
||||
(letfn [(prepare-options [uri]
|
||||
#js {:screen #js {:width bw/default-viewport-width
|
||||
:height bw/default-viewport-height}
|
||||
|
|
|
@ -114,7 +114,7 @@
|
|||
:height height}))
|
||||
|
||||
(defn render
|
||||
[{:keys [page-id file-id objects token scale suffix type uri]} on-object]
|
||||
[{:keys [page-id file-id objects token scale type]} on-object]
|
||||
(letfn [(convert-to-ppm [pngpath]
|
||||
(l/trace :fn :convert-to-ppm)
|
||||
(let [basepath (path/dirname pngpath)
|
||||
|
|
Loading…
Add table
Reference in a new issue