Преглед на файлове

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 години
родител
ревизия
3e381b75cb
променени са 1 файла, в които са добавени 0 реда и са изтрити 1 реда
  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",
         });
       }
     });