mirror of
https://github.com/penpot/penpot.git
synced 2025-07-25 18:17:27 +02:00
♻️ Refactor thumbnail rendering on workspace
This commit is contained in:
parent
1d69da1ca5
commit
48834f96d3
29 changed files with 644 additions and 616 deletions
|
@ -51,8 +51,8 @@
|
|||
|
||||
(defn revoke-uri
|
||||
[url]
|
||||
(assert (string? url) "invalid arguments")
|
||||
(js/URL.revokeObjectURL url))
|
||||
(when ^boolean (str/starts-with? url "blob:")
|
||||
(js/URL.revokeObjectURL url)))
|
||||
|
||||
(defn create-uri
|
||||
"Create a url from blob."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue