mirror of
https://github.com/penpot/penpot.git
synced 2025-07-26 17:47:22 +02:00
🐛 Fix corrupted thumbnail rendering
This commit is contained in:
parent
0eb66464ab
commit
3cbb60620a
2 changed files with 27 additions and 30 deletions
|
@ -192,8 +192,8 @@
|
|||
(rx/map wapi/create-uri)
|
||||
(rx/mapcat (fn [uri]
|
||||
(->> (create-image uri)
|
||||
(rx/mapcat #(wapi/create-image-bitmap % #js {:resizeWidth width
|
||||
:resizeQuality quality}))
|
||||
(rx/mapcat #(wapi/create-image-bitmap-with-workaround % #js {:resizeWidth width
|
||||
:resizeQuality quality}))
|
||||
(rx/tap #(wapi/revoke-uri uri))))))))
|
||||
|
||||
(defn- render-blob
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue