Use data urls instead of blob URLs

I didn't do this originally because I was half doing it in the first place to mess with Blob URLs, and it feels kinda wrong to be encoding it as base64 when that option is available. But not having memory leaks is more important.
This commit is contained in:
Liam Murphy 2021-04-10 17:18:04 +10:00
parent 99c56b9bff
commit 11f29bca86
No known key found for this signature in database
GPG key ID: 792DFA5B236BDF05
2 changed files with 7 additions and 18 deletions

View file

@ -20,7 +20,7 @@ wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
url = "2.0"
num-traits = "0.2"
js-sys = "0.3"
base64 = "0.13"
[dependencies.iced_core]
version = "0.3"
@ -45,6 +45,4 @@ features = [
"EventTarget",
"InputEvent",
"KeyboardEvent",
"Url",
"Blob",
]