0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-13 10:38:13 -05:00

Merge remote-tracking branch 'origin/staging' into develop

This commit is contained in:
Alejandro Alonso 2022-06-09 13:45:25 +02:00
commit d9420081c4
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)