Bläddra i källkod

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 5 år sedan
förälder
incheckning
3e381b75cb
1 ändrade filer med 0 tillägg och 1 borttagningar
  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",
         });
       }
     });