ソースを参照

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",
         });
       }
     });