Explorar el Código

Remove image type description when saving to png (#566)

The description is the name of the file type in the dialog. This shouldn't be Excalidraw but the default one for a png.
Christopher Chedeau hace 5 años
padre
commit
3e381b75cb
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0 1
      src/scene/data.ts

+ 0 - 1
src/scene/data.ts

@@ -227,7 +227,6 @@ export async function exportCanvas(
       if (blob) {
         await fileSave(blob, {
           fileName: fileName,
-          description: "Excalidraw image",
         });
       }
     });