0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-15 09:11:21 -05:00

🐛 Fix problem with black frame background

This commit is contained in:
alonso.torres 2022-05-05 13:03:36 +02:00
parent fe6e62482a
commit 430ccda02c

View file

@ -23,7 +23,7 @@
canvas-height (.-height canvas-node)]
(.clearRect canvas-context 0 0 canvas-width canvas-height)
(.drawImage canvas-context img-node 0 0 canvas-width canvas-height)
(.toDataURL canvas-node "image/jpeg" 0.8)))
(.toDataURL canvas-node "image/png")))
(defn use-render-thumbnail
"Hook that will create the thumbnail thata"