浏览代码

remove debug

dwelle 3 年之前
父节点
当前提交
75e2d9e359
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      src/element/image.ts

+ 0 - 1
src/element/image.ts

@@ -118,7 +118,6 @@ export const normalizeSVG = async (SVGString: string) => {
 export const speedyImageToCanvas = async (imageFile: Blob | File) => {
   let imageSrc: HTMLImageElement | ImageBitmap;
   if (
-    // Math.random() > 1 &&
     typeof ImageBitmap !== "undefined" &&
     ImageBitmap.prototype &&
     ImageBitmap.prototype.close &&