fix: new FS API not working on Linux (#4280)

This commit is contained in:
David Luzar
2021-11-19 14:20:42 +01:00
committed by GitHub
parent 59e9651547
commit 1c11df011a
2 changed files with 4 additions and 2 deletions

View File

@@ -54,6 +54,7 @@ export const exportCanvas = async (
return await fileSave(
new Blob([tempSvg.outerHTML], { type: MIME_TYPES.svg }),
{
description: "Export to SVG",
name,
extension: "svg",
fileHandle,
@@ -86,6 +87,7 @@ export const exportCanvas = async (
}
return await fileSave(blob, {
description: "Export to PNG",
name,
extension: "png",
fileHandle,