Break apart and improve the JS for rasterizing SVGs and downloading files (#786)

It now uses a blob URL instead of a data URL in the download process, which is cleaner and better performance.
This commit is contained in:
Keavon Chambers
2022-10-08 11:34:31 -07:00
committed by GitHub
parent 7291edeef5
commit 2ee57df709
9 changed files with 76 additions and 46 deletions
@@ -63,7 +63,7 @@ pub enum FrontendMessage {
TriggerOpenDocument,
TriggerPaste,
TriggerRasterDownload {
document: String,
svg: String,
name: String,
mime: String,
size: (f64, f64),