mirror of
https://github.com/penpot/penpot.git
synced 2025-06-03 00:31:40 +02:00
⚡ Add thumbnail renderer
And integrate the dashboard thumbnails to use that service
This commit is contained in:
parent
64ddfa0c31
commit
d11b007795
19 changed files with 579 additions and 183 deletions
|
@ -130,6 +130,10 @@
|
|||
(map #(.item file-list %))
|
||||
(filter #(str/starts-with? (.-type %) "image/"))))))
|
||||
|
||||
(defn create-image-bitmap
|
||||
[image]
|
||||
(js/createImageBitmap image))
|
||||
|
||||
(defn request-fullscreen
|
||||
[el]
|
||||
(cond
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue