0
Fork 0
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:
Alejandro Alonso 2022-06-09 13:39:29 +02:00
parent 28b6175943
commit bc3914e7e0
3 changed files with 3 additions and 3 deletions

View file

@ -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}

View file

@ -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}

View file

@ -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)